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
14
plakativ.py
14
plakativ.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue