Skip to content

Commit

Permalink
properly pass settings and default use in get configs when config fil…
Browse files Browse the repository at this point in the history
…e does not exist (#352)
  • Loading branch information
Ferelith-maker authored Oct 29, 2024
1 parent 0067b45 commit 825f6f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/common_qt_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ def getConfigs(self,settings,useDefault=False):
configs = yaml.safe_load(file)
if configs is None:
# The configs file exists, but is empty, use default settings
configs = self.getConfigs(True)
configs = self.getConfigs(settings,True)
except:
# Could not open or config file does not exist, use default settings
configs = self.getConfigs(True)
configs = self.getConfigs(settings,True)
return configs


Expand Down

0 comments on commit 825f6f9

Please sign in to comment.