mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
Update main.py
This commit is contained in:
parent
f04a507974
commit
0eac69d4ea
1 changed files with 3 additions and 0 deletions
|
@ -72,12 +72,15 @@ class AppWindow(QMainWindow):
|
|||
|
||||
# read config and info files
|
||||
if not os.path.exists(lnd_cfg_abs_path):
|
||||
log.error("file does not exist: {}".format(lnd_cfg_abs_path))
|
||||
raise Exception("file does not exist: {}".format(lnd_cfg_abs_path))
|
||||
|
||||
if not os.path.exists(rb_cfg_abs_path):
|
||||
log.error("file does not exist: {}".format(rb_cfg_abs_path))
|
||||
raise Exception("file does not exist: {}".format(rb_cfg_abs_path))
|
||||
|
||||
if not os.path.exists(rb_info_abs_path):
|
||||
log.error("file does not exist: {}".format(rb_info_abs_path))
|
||||
raise Exception("file does not exist: {}".format(rb_info_abs_path))
|
||||
|
||||
self.lnd_cfg = LndConfig(lnd_cfg_abs_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue