We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5746b19 commit 3336949Copy full SHA for 3336949
main.py
@@ -680,7 +680,15 @@ def load_conf(self):
680
return
681
682
with open(SLAVES_FILE, 'r') as f:
683
- data = load(f)
+ try:
684
+ data = load(f)
685
+ except ValueError as e:
686
+ self.show_error(
687
+ "LoadError: Failed to Load : %s "
688
+ "\nSave Your Config File it will be overwritten"
689
+ % e.message
690
+ )
691
+ return
692
693
if 'active_server' not in data or 'port' not in data \
694
or 'slaves_list' not in data or 'slaves_memory' not in data or \
0 commit comments