1
0
mirror of https://github.com/ciromattia/kcc synced 2026-05-22 23:42:13 +00:00

Code cleanup

This commit is contained in:
Paweł Jastrzębski
2015-01-20 21:45:22 +01:00
parent 7bd9c766cc
commit 12684d6562
12 changed files with 11 additions and 68 deletions

View File

@@ -16,10 +16,6 @@
# PERFORMANCE OF THIS SOFTWARE.
#
__license__ = 'ISC'
__copyright__ = '2012-2015, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>'
__docformat__ = 'restructuredtext en'
import os
from hashlib import md5
from html.parser import HTMLParser
@@ -107,12 +103,5 @@ def dependencyCheck(level):
except ImportError:
missing.append('Pillow 2.7.0+')
if len(missing) > 0:
try:
import tkinter
import tkinter.messagebox
importRoot = tkinter.Tk()
importRoot.withdraw()
tkinter.messagebox.showerror('KCC - Error', 'ERROR: ' + ', '.join(missing) + ' is not installed!')
except ImportError:
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
print('ERROR: ' + ', '.join(missing) + ' is not installed!')
exit(1)