print not input

This commit is contained in:
j 2016-01-07 15:46:42 +05:30
parent 0e71dcd9a8
commit d3aab286f8
1 changed files with 2 additions and 2 deletions

View File

@ -69,11 +69,11 @@ class Install(Thread):
elif has_bin('dnf') and dnf_packages:
print('Installing additional packages: %s' % dnf_packages)
os.system('sudo dnf install -y ' + dnf_packages)
else:
elif apt_packages:
print('You need to install Pillow, lxml and pyOpenSSL\ni.e. sudo pip3 install pillow lxml pyOpenSSL')
if 'poppler' in apt_packages:
print('You need to install pdftocairo (part of poppler-utils)')
input("After installing those packages, run install again")
print("After installing those packages, run install again")
self.failed = True
return
target = self.target