Skip to content

Commit 648c032

Browse files
committed
refactor: Hide the folder "backups" by renaming to ".backups"
1 parent 68ba826 commit 648c032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pw_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def create_backup(self):
6464
"""Create a backup of the dictionary with the passwords."""
6565
now = datetime.datetime.now().isoformat()
6666
pretty_now = now.split('.')[0].replace(':', '.')
67-
with open(f'{self.creds_dir}/backups/{pretty_now}', 'w') as pw_file_json:
67+
with open(f'{self.creds_dir}/.backups/{pretty_now}', 'w') as pw_file_json:
6868
json.dump(self.pw_dict, pw_file_json)
6969

7070
@staticmethod

0 commit comments

Comments
 (0)