Skip to content

Commit 033ba6c

Browse files
authored
Update main_window.py
1 parent 945ea41 commit 033ba6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ def on_close(self, widget, *args):
10821082
## Create desktop file to make periodic backups work
10831083
def create_pb_desktop(self):
10841084
if not os.path.exists(f'{Path.home()}/.config/autostart'):
1085-
os.mkdir(f'{Path.home}/.config/autostart')
1085+
os.mkdir(f'{Path.home()}/.config/autostart')
10861086
if not os.path.exists(f'{Path.home()}/.config/autostart/io.github.vikdevelop.SaveDesktop.Backup.desktop'):
10871087
with open(f'{Path.home()}/.config/autostart/io.github.vikdevelop.SaveDesktop.Backup.desktop', 'w') as cb:
10881088
cb.write(f'[Desktop Entry]\nName=SaveDesktop (Periodic backups)\nType=Application\nExec={periodic_saving_cmd}')

0 commit comments

Comments
 (0)