Code cleanup

This commit is contained in:
Paweł Jastrzębski committed 2013-11-13 11:27:26 +01:00
1 parent 50f5b600b1
commit ddd223c2ec
5 files changed
+109 -91

No files matched your search

+8
View File
@@ -38,6 +38,14 @@ try:
exit(1)
except ImportError:
print "ERROR: Pillow is not installed!"
if platform.startswith('linux'):
#noinspection PyUnresolvedReferences
import Tkinter
#noinspection PyUnresolvedReferences
import tkMessageBox
importRoot = Tkinter.Tk()
importRoot.withdraw()
tkMessageBox.showerror("KCC - Error", "Pillow 2.2.1 or newer is required!")
exit(1)