From d6d28764c41044bb0799984047d356bc7e2879cf Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 18 Mar 2018 00:23:05 -0700 Subject: [PATCH] Oops, assign self.config before dumping it. --- etiquette/photodb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index cec2b39..a6bacf1 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -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):