Commit a6b230dd authored by Christopher Gearhart's avatar Christopher Gearhart

Whoops! Shouldn't delete the output file

parent 320ec7d6
......@@ -25,7 +25,6 @@ def getFrames(projectName, archiveFiles=False, frameRange=False):
f.write(fileStrings)
includeDict = "--include-from='{outFilePath}'".format(outFilePath=outFilePath)
f.close()
os.remove(outFilePath)
archiveRsyncCommand = "rsync -qx --rsync-path='mkdir -p {dumpLocation}/backups/ && rsync' --remove-source-files {includeDict} --exclude='{nameOutputFiles}_????.???' --exclude='*_average.???' {dumpLocation}/* {dumpLocation}/backups/;".format(includeDict=includeDict, dumpLocation=dumpLocation, nameOutputFiles=getNameOutputFiles(), imExtension=bpy.props.imExtension)
else:
archiveRsyncCommand = "mkdir -p {dumpLocation};".format(dumpLocation=dumpLocation)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment