Commits

FredGan committed 4371cdb

Correction Errors2

  • Participants
  • Parent commits 799de46

Comments (0)

Files changed (1)

 def Archive(paths):
     date=datetime.now().strftime('%Y'"."'%m'"."'%d')
     for i in paths:
-        tar = tarfile.open(str(i)+'_'+date+".tar", "w|gz")
+        tar = tarfile.open(str(i)+'_'+date+".tar", "w")
         for root, dir, files in os.walk(str(paths[i])):
             for file in files:
                 fullpath = os.path.join(root,file)