Selaa lähdekoodia

remove '/' in backup_ver3.py

lengyue 9 vuotta sitten
vanhempi
commit
28d80d6e86
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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