Skip to content

Commit aecf58e

Browse files
authored
Merge pull request #385 from yungwine/db-backup
fix db backup restoring
2 parents 15d7bc4 + 9201a7d commit aecf58e

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)