Trimmed comments.

This commit is contained in:
eworc778 2025-08-25 21:57:55 +01:00
parent 71c5ad5e01
commit 1c082a226a

10
main.py
View File

@ -40,7 +40,7 @@ while mainCategory == "":
mainCategory = ""
if mainCategory == "":
#Not best way to do this, but it's a small script, so idc :shrug:
# Loop until a valid input is received.
os.system("clear")
print("Invalid input, please try again:")
@ -57,7 +57,7 @@ while subCategory == "":
subCategory = ""
if subCategory == "":
#Not best way to do this, but it's a small script, so idc :shrug:
os.system("clear")
print("Invalid input, please try again:")
@ -72,12 +72,12 @@ while numberOfPages <= 0:
numberOfPages = -1
if numberOfPages <= 0:
#Not best way to do this, but it's a small script, so idc :shrug:
os.system("clear")
print("Invalid input, please try again:")
#The inputs have passed validation - onto the fun part :)
# Start putitng together the final command.
finalCommand = ""
@ -146,7 +146,7 @@ while numberOfPages > curPage:
os.system("rm *.jpg")
# Grumble grumble, file locking, grumble grumble...
os.system("mv \"" + documentName + "-work.pdf\" " + "\"" + documentName + ".pdf" + "\"")