From 9eae0103a2ce1a958bd1752182e10e6c3885de00 Mon Sep 17 00:00:00 2001 From: eworc778 Date: Thu, 22 Aug 2024 19:36:11 +0100 Subject: [PATCH] Fixed vars not being assigned properly. --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index c7e13e5..31ff52f 100644 --- a/main.py +++ b/main.py @@ -20,9 +20,10 @@ try: f = open(home+"/.local/share/scan-auto/printer_uri", "r") print("Printer URI is:") - print(f.readline()) printerURI = f.readline() + + print(printerURI) except: print("Please create a file at " + home + "/.local/share/scan-auto/printer_uri")