lengyue 9 лет назад
Родитель
Сommit
28d80d6e86
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      programs/backup_ver3.py

+ 1 - 1
programs/backup_ver3.py

@@ -36,7 +36,7 @@ comment = input('Enter a comment --> ')
 if len(comment) == 0:
     target = today + os.sep + now + '.zip'
 else:
-    target = today + os.sep + now + '_' + \
+    target = today + os.sep + now + '_' + 
         comment.replace(' ', '_') + '.zip'
 
 # Create the subdirectory if it isn't already there