tfollow-up prev - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit beb9f63274723174ddd8e7df23c01ad24fc95026 DIR parent 58c2c152663001dbe796a95869da54e95b39b482 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 8 Feb 2019 08:27:23 +0100 follow-up prev Diffstat: M electrum/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/storage.py b/electrum/storage.py t@@ -137,7 +137,7 @@ class JsonDB(PrintError): os.fsync(f.fileno()) mode = os.stat(self.path).st_mode if self.file_exists() else stat.S_IREAD | stat.S_IWRITE - if not file_exists(): + if not self.file_exists(): assert not os.path.exists(self.path) os.replace(temp_path, self.path) os.chmod(self.path, mode)