mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
Merge branch 'master' of git@host.fluxility.com:optimg
Conflicts: trimage.py
This commit is contained in:
commit
0617a1dd5a
1 changed files with 2 additions and 2 deletions
|
|
@ -254,7 +254,6 @@ class Worker(QThread):
|
|||
name = oldfile.fileName()
|
||||
oldfilesize = oldfile.size()
|
||||
oldfilesizestr = size(oldfilesize, system=alternative)
|
||||
|
||||
# get extention
|
||||
print os.path, type(filename), type(os.path), str(filename)
|
||||
baseName, extention = os.path.splitext(filename)
|
||||
|
|
@ -269,7 +268,8 @@ class Worker(QThread):
|
|||
raise Exception('File %s does not have the appropriate extention' % filename)
|
||||
|
||||
try:
|
||||
retcode = call(runString % {'file' : filename}, shell=True, stdout=PIPE)
|
||||
retcode = call(runString % {'file' : filename}, shell = True, stdout = PIPE)
|
||||
|
||||
runfile = retcode
|
||||
except OSError, e:
|
||||
runfile = e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue