This commit is contained in:
decoded
2023-03-26 22:04:50 -05:00
parent 11862bc34a
commit c526505b5b

View File

@@ -1,4 +1,4 @@
########################################################################################### dr1p4ns1 version 2.667 ##### SOF
########################################################################################### dr1p4ns1 version 2.668 ##### SOF
#################################################################################################### #######################
import os
import random
@@ -754,7 +754,10 @@ class UI:
decoder=ANSIDecoder(buffer_filename,buffer_width)
decoder.as_irc()
N=random.randint(5,10)
try:
print(f'{C}SLEEPING {M}{N}{C} SECONDS BEFORE NEXT AUTOPUMP: {self.QUEUE[0][0]}')
except:
break
sleep(N)
else:
flag_done=True
@@ -1252,7 +1255,10 @@ class ANSIDecoder:
break
if SHOW_FILENAME:
self.fifo(f"\x035FILENAME\x034: \x035{self.filename.split('/')[-1]} \x034- \x035DR1P4NS1\x034:\x035 {DR1P_VERSION}")
try:
x._stop()
except:
pass
self.ESCAPE_PUMP=False
if DID_I_ABORT:
print(f'\x1b[31m<<< ABORTED PUMP >>>')