File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,8 @@ def backup(self):
8484 filename = old_filename .replace (" " , "_" )
8585 else :
8686 filename = self .settings ["filename-format" ]
87- if self .settings ["save-flatpak-data" ] == True :
88- with open (f"{ CACHE } /.periodicfile.json" , "w" ) as p :
89- p .write ('{\n "recent_file": "%s/%s.fd.sd.tar.gz"\n }' % (self .pbfolder , filename ))
90- else :
91- with open (f"{ CACHE } /.periodicfile.json" , "w" ) as p :
92- p .write ('{\n "recent_file": "%s/%s.sd.tar.gz"\n }' % (self .pbfolder , filename ))
87+ with open (f"{ CACHE } /.periodicfile.json" , "w" ) as p :
88+ p .write ('{\n "recent_file": "%s/%s.sd.tar.gz"\n }' % (self .pbfolder , filename ))
9389 os .chdir (f"{ CACHE } /periodic_saving" )
9490 os .system (f"python3 { system_dir } /config.py --save" )
9591 os .system (f"rm { CACHE } /.periodicfile.json" )
You can’t perform that action at this time.
0 commit comments