1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 13:54:17 +00:00

clean run

This commit is contained in:
deadc0de6
2020-11-16 13:50:38 +01:00
parent 5edcfe1897
commit 3fc635495d
5 changed files with 9 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ class Templategen:
self.log.dbg('using \"magic\" for filetype identification')
except ImportError:
_, filetype = utils.run(['file', '-b', '--mime-type', src],
raw=False, debug=self.debug)
debug=self.debug)
if self.debug:
self.log.dbg('using \"file\" for filetype identification')
filetype = filetype.strip()