File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,6 @@ def backup_config(local, config_path):
4343#end define
4444
4545
46- def BackupVconfig (local ):
47- if local .buffer .only_mtc :
48- return
49- local .add_log ("Backup validator config file 'config.json' to 'config.json.backup'" , "debug" )
50- vconfig_path = local .buffer .vconfig_path
51- backupPath = vconfig_path + ".backup"
52- args = ["cp" , vconfig_path , backupPath ]
53- subprocess .run (args )
54- #end define
55-
56-
5746def BackupMconfig (local ):
5847 local .add_log ("Backup mytoncore config file 'mytoncore.db' to 'mytoncore.db.backup'" , "debug" )
5948 mconfig_path = local .buffer .mconfig_path
Original file line number Diff line number Diff line change 3434)
3535from mytoninstaller .config import (
3636 CreateLocalConfig ,
37- BackupVconfig ,
3837 BackupMconfig ,
3938)
4039
@@ -293,7 +292,6 @@ def General(local, console):
293292 FirstNodeSettings (local )
294293 EnableValidatorConsole (local )
295294 EnableLiteServer (local )
296- BackupVconfig (local )
297295 BackupMconfig (local )
298296 CreateSymlinks (local )
299297 EnableMode (local )
You can’t perform that action at this time.
0 commit comments