Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
ChipTNC
ChipTNC-www
Commits
911e4ca0
Commit
911e4ca0
authored
Jan 01, 1970
by
Angus Ainslie
Browse files
Change the directory and make it if it doesn't exist
parent
016550c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
messaged.py
View file @
911e4ca0
...
...
@@ -21,10 +21,13 @@ ssid = ''
igLogin
=
''
igPass
=
''
msgId
=
0
dbPath
=
"/
var
/lib/aprs"
dbPath
=
"/
data
/lib/aprs"
dbName
=
"messages.db"
dbFile
=
os
.
path
.
join
(
dbPath
,
dbName
)
if
not
os
.
path
.
exists
(
dbPath
):
os
.
makedirs
(
dbPath
)
def
parse_frame
(
frame
):
msgId
=
None
try
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment