aboutsummaryrefslogtreecommitdiff
path: root/bench.py
diff options
context:
space:
mode:
Diffstat (limited to 'bench.py')
-rwxr-xr-xbench.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench.py b/bench.py
index 0340a08..6e36d5b 100755
--- a/bench.py
+++ b/bench.py
@@ -110,7 +110,7 @@ def main():
else:
starttime = datetime.datetime.now().isoformat()
# strip seconds from string
- starttime = start_time[:start_time.rfind(':')]
+ starttime = starttime[:starttime.rfind(':')]
src.globalvars.facts["starttime"] = starttime
# Create result directory if we save or summarize results