summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schauer Marin Rodrigues <josch@debian.org>2023-11-26 23:17:11 +0100
committerJohannes Schauer Marin Rodrigues <josch@debian.org>2023-11-26 23:17:11 +0100
commit2a94f01bd775ab801fa6bcea00c83752045b4c4f (patch)
treedb5e00342a244e2d9793b3457fb1adcaa906340f
parente07dbfd9f70eb450341fa2ae635f2075a5f3cd92 (diff)
disable gui as it's barely functional
Forwarded: not-needed Gbp-Pq: Name disable-gui.patch
-rwxr-xr-xsrc/img2pdf.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/img2pdf.py b/src/img2pdf.py
index f89670b..56db773 100755
--- a/src/img2pdf.py
+++ b/src/img2pdf.py
@@ -4018,9 +4018,6 @@ Report bugs at https://gitlab.mister-muffin.de/josch/img2pdf/issues
help="Prints version information and exits.",
)
parser.add_argument(
- "--gui", dest="gui", action="store_true", help="run experimental tkinter gui"
- )
- parser.add_argument(
"--from-file",
metavar="FILE",
type=from_file,
@@ -4444,10 +4441,6 @@ def main(argv=sys.argv):
if args.pillow_limit_break:
Image.MAX_IMAGE_PIXELS = None
- if args.gui:
- gui()
- sys.exit(0)
-
layout_fun = get_layout_fun(
args.pagesize, args.imgsize, args.border, args.fit, args.auto_orient
)