mirror of
https://github.com/sameer1612/.dotfiles.git
synced 2025-02-22 19:38:57 +02:00
inlined unreferenced variable
This commit is contained in:
parent
90167a901d
commit
283fad7137
@ -7,9 +7,7 @@ from datetime import datetime, timedelta
|
||||
|
||||
def remove_ansi_escape_codes(input_string):
|
||||
ansi_escape = re.compile(r"\x1B\[[0-9;]*m")
|
||||
clean_string = ansi_escape.sub("", input_string)
|
||||
|
||||
return clean_string
|
||||
return ansi_escape.sub("", input_string)
|
||||
|
||||
|
||||
def get_time_remaining(target_time):
|
||||
@ -33,7 +31,6 @@ def get_time_remaining(target_time):
|
||||
|
||||
|
||||
log = sys.argv[1]
|
||||
|
||||
lines = log.split("\n")
|
||||
|
||||
for index in range(len(lines)):
|
||||
|
Loading…
x
Reference in New Issue
Block a user