better cutleft : wider and cleans up
This commit is contained in:
+1
-2
@@ -312,7 +312,7 @@ class PDFPreviewer:
|
||||
# Move the temp output file to replace the original
|
||||
shutil.move(self.final_file, self.pdf_path)
|
||||
|
||||
print(f"Original moved to {backup_path}, new file saved at {self.pdf_path}")
|
||||
# print(f"Original moved to {backup_path}, new file saved at {self.pdf_path}")
|
||||
|
||||
except Exception as e:
|
||||
messagebox.showerror("Error", f"Failed to move/replace files: {e}")
|
||||
@@ -445,4 +445,3 @@ if __name__ == "__main__":
|
||||
root = tk.Tk()
|
||||
app = PDFPreviewer(root, pdf_file_path)
|
||||
root.mainloop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user