From 6a0e78b409ff090c6d2a12edf61b029f45c7cd3a Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 1 Jul 2019 10:18:05 +0200 Subject: [PATCH] remove fallback for tkinter not being present --- plakativ.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/plakativ.py b/plakativ.py index c3d9864..d7d9bbf 100644 --- a/plakativ.py +++ b/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 tkinter +import tkinter.filedialog import sys import argparse import os.path