fix for deleting a non-blend file

This commit is contained in:
2014-11-20 21:08:13 +01:00
parent 29f1c3778e
commit b6154953ad
3 changed files with 14 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ def open_blend(filename, access="rb"):
bfile.filepath_orig = filename
return bfile
elif magic[:2] == b'\x1f\x8b':
log.debug("gzip blendfile detected?")
log.debug("gzip blendfile detected")
handle.close()
log.debug("decompressing started")
fs = gzip.open(filename, "rb")