1
0
Fork 0
forked from josch/plakativ

remove fallback for tkinter not being present

This commit is contained in:
Johannes 'josch' Schauer 2019-07-01 10:18:05 +02:00
parent b4434e6467
commit 6a0e78b409
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -4,18 +4,8 @@
from collections import OrderedDict from collections import OrderedDict
import math import math
import fitz import fitz
try: import tkinter
import tkinter import tkinter.filedialog
import tkinter.filedialog
except ImportError:
# dummy classes so that this also loads without tkinter
class tkinter:
class Frame:
pass
class Menubutton:
pass
class LabelFrame:
pass
import sys import sys
import argparse import argparse
import os.path import os.path