mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixing config file when starting from daemon.py
This commit is contained in:
parent
83b3f6a71c
commit
4c69b748d5
2 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,8 @@ class CONFIG:
|
|||
|
||||
self.config['STATION'] = {'#Station settings': None,
|
||||
'mycall': data[1],
|
||||
'mygrid': data[2]
|
||||
'mygrid': data[2],
|
||||
'ssid_list': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] # list(data[26])
|
||||
}
|
||||
|
||||
self.config['AUDIO'] = {'#Audio settings': None,
|
||||
|
|
|
@ -251,6 +251,9 @@ class DAEMON:
|
|||
if data[25] == "True":
|
||||
options.append("--explorer")
|
||||
|
||||
options.append("--ssid_list")
|
||||
options.append(data[26])
|
||||
|
||||
# safe data to config file
|
||||
config.write_entire_config(data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue