From 11862bc34a5fff6ec0f1ba37d1f7740b136eb2c6 Mon Sep 17 00:00:00 2001 From: decoded Date: Sat, 5 Nov 2022 19:39:50 -0500 Subject: [PATCH] v2.667 --- dr1p4ns1.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dr1p4ns1.py b/dr1p4ns1.py index 9f540c1..ef233eb 100644 --- a/dr1p4ns1.py +++ b/dr1p4ns1.py @@ -704,7 +704,7 @@ class UI: sleep(1) print('\x1bc') decoder.as_terminal() - elif k == 'f': + elif k == 'f': if SHOW_FILENAME: SHOW_FILENAME=False else: @@ -740,7 +740,7 @@ class UI: sleep(1) else: print(f'{R} autopumping from pump queue') - + while not flag_done: if len(self.QUEUE) > 0: print('\x1bc') @@ -755,7 +755,7 @@ class UI: decoder.as_irc() N=random.randint(5,10) print(f'{C}SLEEPING {M}{N}{C} SECONDS BEFORE NEXT AUTOPUMP: {self.QUEUE[0][0]}') - sleep(N) + sleep(N) else: flag_done=True print(f'{B}NO FILES LEFT IN QUEUE - {R} EXITING') @@ -1247,7 +1247,7 @@ class ANSIDecoder: for _ in self.output_lines: self.fifo(_) sleep(dr1p.delay) - if self.ESCAPE_PUMP: + if self.ESCAPE_PUMP: DID_I_ABORT=True break if SHOW_FILENAME: @@ -1328,7 +1328,7 @@ class ANSIDecoder: else: distance=int(self.width)-len(line) processing+=f"{'█'*distance}" - self.output_lines.append(processing) + self.output_lines.append(processing) # self.output_lines.append(processing + '\x1b[40;37m') processing='' #########################################################################################################################