forked from josch/plakativ
remove fallback for tkinter not being present
This commit is contained in:
parent
b4434e6467
commit
6a0e78b409
1 changed files with 2 additions and 12 deletions
10
plakativ.py
10
plakativ.py
|
@ -4,18 +4,8 @@
|
|||
from collections import OrderedDict
|
||||
import math
|
||||
import fitz
|
||||
try:
|
||||
import tkinter
|
||||
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 argparse
|
||||
import os.path
|
||||
|
|
Loading…
Reference in a new issue