Skip to content

Commit

Permalink
Fixed #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Aug 17, 2021
1 parent 83fdbb9 commit 35ff5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion permanent_backup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def filter_ignore(path, files):

# find file name
file_name_raw = os.path.join(config.backup_path, time.strftime('%Y-%m-%d_%H-%M-%S', time.localtime()))
if comment != '':
if comment is not None:
file_name_raw += '_' + format_file_name(comment)
zip_file_name = file_name_raw
counter = 0
Expand Down

0 comments on commit 35ff5f1

Please # to comment.