Pārlūkot izejas kodu

remove '/' in backup_ver3.py

lengyue 9 gadi atpakaļ
vecāks
revīzija
28d80d6e86
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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