Skip to content
This repository was archived by the owner on Mar 15, 2021. It is now read-only.

Commit 99c3f1a

Browse files
Merge branch 'develop' into production
2 parents 324b6ab + 1e4b608 commit 99c3f1a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Print.py

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Print.py
2-
__version__ = "v20201212"
2+
__version__ = "v20210115"
33
# Local Files
44
import integrity
55
import files
@@ -386,12 +386,12 @@ def main(AUTORUN, EMAILPRINT, COLOR, BOOKLETS):
386386
printed = []
387387
temp = ""
388388
while(True):
389-
if(temp != "run"):
389+
if(not(temp == "run" or temp == "+")):
390390
temp = str(input("Type In an Order Number: "))
391-
if(temp != "run" and BOOKLETS == True):
391+
if(not(temp == "run" or temp == "+") and BOOKLETS == True):
392392
ORDER_NUMBER.append(temp)
393393
temp = "run"
394-
if(temp != "run"):
394+
if(not(temp == "run" or temp == "+")):
395395
ORDER_NUMBER.append(temp)
396396
else:
397397
OUTPUT_DIRECTORY = "SO/"
@@ -430,12 +430,14 @@ def main(AUTORUN, EMAILPRINT, COLOR, BOOKLETS):
430430
print = log.Print
431431
input = log.Input
432432
print("\n\nTerminal Auto Printing REV:", colored(__version__, "magenta"))
433-
print('\nType Your Order Number and Hit Enter,\nType ', colored(
434-
'"run"', 'green'), ' then hit enter when your all set. \n')
433+
print('\nType Your Order Number and Hit Enter,\nType', (colored(
434+
'"run"', 'green') + ' or ' + colored(
435+
'"+"', 'green')), 'then hit enter when your all set. \n')
435436
print("Compatible Jobs will AutoRun, jobs will pause for requested input if needed.")
436-
print(colored("ALWAYS", "yellow") +" Skim Outputs, Page Counts, etc, for Invalid Input or Invalid Requests.")
437+
print(colored("ALWAYS", "yellow") +
438+
" Skim Outputs, Page Counts, etc, for Invalid Input or Invalid Requests.")
437439
print("Ensure " + colored("Bright Colored Paper", "magenta"),
438-
"should be loaded as gray plain paper.\n"+ colored("WARNING:", "yellow")+ " If printer runs out of paper all tickets will be immediately promoted to run next.")
440+
"should be loaded as gray plain paper.\n" + colored("WARNING:", "yellow") + " If printer runs out of paper all tickets will be immediately promoted to run next.")
439441
print("Ensure" + colored(" Banner Sheet ",
440442
"magenta") + "Tray is Full of Paper\n")
441443
integrity.integrity()

0 commit comments

Comments
 (0)