From 7e0d4801c3dc8ac53328c904822e43a4dfe8660e Mon Sep 17 00:00:00 2001 From: decoded Date: Mon, 28 Feb 2022 14:55:11 -0600 Subject: [PATCH] v2.0 --- dr1p4ns1.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dr1p4ns1.py b/dr1p4ns1.py index 789721b..d98d56f 100644 --- a/dr1p4ns1.py +++ b/dr1p4ns1.py @@ -405,8 +405,6 @@ class dr1p4ns1: code_values=_.split('[')[1].split(';') code_replace=_ newcode='' - if len(irc_processed) == 19: - pass for __ in code_values: __=__.replace('m','') if 0 <= int(__) <= 9: @@ -462,7 +460,6 @@ class dr1p4ns1: newcode+=str(color_table[int(fg_color)-30+bold_offset]) if 40 <= int(_) <= 49: newcode+=","+str(color_table[int(bg_color)-40]) - pass else: pass #non-bold-operations if len(codes) == 1 and not codes_root_popped: @@ -1130,7 +1127,6 @@ class ANSIDecoder: self.as_irc_lines() for _ in self.output_lines: self.fifo(_) - pass ################################################################################################### RE-ENCODING ENCODINGS def as_terminal_lines(self): default_fg=7 @@ -1204,7 +1200,6 @@ class ANSIDecoder: self.as_terminal_lines() for _ in self.output_lines: print(_) - pass ################################################################################################################### ENTRY - 1 if __name__=="__main__": FIFO_ENABLED = os.path.exists(FIFO_PATH)