summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schauer Marin Rodrigues <josch@debian.org>2022-10-30 19:31:17 +0100
committerJohannes Schauer Marin Rodrigues <josch@debian.org>2022-10-30 19:31:17 +0100
commit5c4d571a4c5b969b9d2868ce26ef0278f0a0359e (patch)
tree21e57c633a1a9dc30ece534c17cc3520f7efde00
parentfdf165a32d98328b7a2ea5d07eb43f8254f662ae (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 39a311b..8836f8d 100755
--- a/src/img2pdf.py
+++ b/src/img2pdf.py
@@ -3614,9 +3614,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,
@@ -4011,10 +4008,6 @@ and left/right, respectively. It is not possible to specify asymmetric borders.
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
)