mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-02 19:46:27 -04:00
Implemented key export and import
This commit is contained in:
parent
23a2a95784
commit
0b5963bb9e
3 changed files with 239 additions and 54 deletions
|
@ -86,11 +86,14 @@ class SidebandCore():
|
|||
self.db_path = self.app_dir+"/app_storage/sideband.db"
|
||||
self.lxmf_storage = self.app_dir+"/app_storage/"
|
||||
|
||||
self.first_run = True
|
||||
|
||||
try:
|
||||
if not os.path.isfile(self.config_path):
|
||||
self.__init_config()
|
||||
else:
|
||||
self.__load_config()
|
||||
self.first_run = False
|
||||
|
||||
except Exception as e:
|
||||
RNS.log("Error while configuring Sideband: "+str(e), RNS.LOG_ERROR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue