mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
add docstring for checkapps
This commit is contained in:
parent
90e7579e49
commit
704cb25f36
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ class StartQT4(QMainWindow):
|
||||||
self.ui.recompress.setEnabled(True)
|
self.ui.recompress.setEnabled(True)
|
||||||
|
|
||||||
def checkapps(self):
|
def checkapps(self):
|
||||||
#check if apps exist
|
"""Check if the required command line apps exist."""
|
||||||
status = False
|
status = False
|
||||||
retcode = call("jpegoptim --version", shell=True, stdout=PIPE)
|
retcode = call("jpegoptim --version", shell=True, stdout=PIPE)
|
||||||
if retcode != 0:
|
if retcode != 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue