Explorar el Código

remove '/' in backup_ver3.py

lengyue hace 9 años
padre
commit
28d80d6e86
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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