Skip to content

Commit 9201a7d

Browse files
committed
fix db backup restoring
1 parent 2777801 commit 9201a7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mytoncore/mytoncore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def CheckConfigFile(self, fift, liteClient):
115115
self.local.add_log("Restoring the configuration file", "info")
116116
args = ["cp", backup_path, mconfig_path]
117117
subprocess.run(args)
118+
self.dbFile = mconfig_path
118119
self.Refresh()
119120
elif os.path.isfile(backup_path) == False:
120121
self.local.add_log("Create backup config file", "info")

0 commit comments

Comments
 (0)