mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-06 23:01:36 +01:00
[git fast commit] 02. Feb 2019 - 22:40:37
This commit is contained in:
@@ -25,6 +25,7 @@ def parse(f, exit_on_eof=True, start_at_end=False):
|
|||||||
seek_start = True
|
seek_start = True
|
||||||
round_lines = []
|
round_lines = []
|
||||||
last_line_was_winner = False
|
last_line_was_winner = False
|
||||||
|
lineCount = 0
|
||||||
while True:
|
while True:
|
||||||
old_line_nr = f.tell()
|
old_line_nr = f.tell()
|
||||||
line = f.readline()
|
line = f.readline()
|
||||||
@@ -40,6 +41,9 @@ def parse(f, exit_on_eof=True, start_at_end=False):
|
|||||||
time.sleep(5000)
|
time.sleep(5000)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
lineCount += 1
|
||||||
|
if lineCount % 100000 == 0:
|
||||||
|
print("At Line: {}".format(lineCount))
|
||||||
|
|
||||||
if seek_start and not "round_start_active" in line and line:
|
if seek_start and not "round_start_active" in line and line:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user