1
0
Fork 0
forked from josch/plakativ

plakativ.py: use ImportError to cater for Python 2

This commit is contained in:
Johannes 'josch' Schauer 2019-07-01 01:59:50 +02:00
parent 1e0bde7027
commit 970ebb6659
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -7,7 +7,7 @@ import fitz
try:
import tkinter
import tkinter.filedialog
except ModuleNotFoundError:
except ImportError:
# dummy classes so that this also loads without tkinter
class tkinter:
class Frame: