Skip to content

Commit

Permalink
added sessionmarker
Browse files Browse the repository at this point in the history
  • Loading branch information
pncakespoon1 committed Nov 13, 2022
1 parent eac7e27 commit 355485d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ResetTracker/resetTracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class NewRecord(FileSystemEventHandler):
splitless_count = 0
break_time = 0
wall_time = 0
isFirstRun = 'X'

def __init__(self):
self.path = None
Expand Down Expand Up @@ -274,7 +275,8 @@ def on_created(self, evt):
d = ms_to_string(int(self.data["date"]), returnTime=True)
data = ([str(d), iron_source, enter_type, gold_source, spawn_biome] + self.this_run +
[ms_to_string(iron_time), str(self.wall_resets), str(self.splitless_count),
ms_to_string(self.rta_spent), ms_to_string(self.wall_time), ms_to_string(self.break_time)])
ms_to_string(self.rta_spent), ms_to_string(self.break_time), ms_to_string(self.wall_time), self.isFirstRun])
self.isFirstRun = ''

with open(statsCsv, "r") as infile:
reader = list(csv.reader(infile))
Expand Down

0 comments on commit 355485d

Please sign in to comment.