Oops, assign self.config before dumping it.
This commit is contained in:
parent
0c7d35435e
commit
d6d28764c4
1 changed files with 2 additions and 1 deletions
|
@ -1470,10 +1470,11 @@ class PhotoDB(
|
|||
else:
|
||||
needs_dump = True
|
||||
|
||||
self.config = config
|
||||
|
||||
if needs_dump:
|
||||
self.save_config()
|
||||
|
||||
self.config = config
|
||||
return config
|
||||
|
||||
def save_config(self):
|
||||
|
|
Loading…
Reference in a new issue