diff options
Diffstat (limited to 'src/log_shit.py')
| -rw-r--r-- | src/log_shit.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/log_shit.py b/src/log_shit.py index a60711f..7e5da43 100644 --- a/src/log_shit.py +++ b/src/log_shit.py @@ -16,20 +16,20 @@ except: print("fake file.") sys.exit(-1) -print("file: %s\n\ -how often: %f\n\ -how long: %f" % (log_file, how_often, time_to_do_it)) +print("[i] file: %s\n\ +[i] how often: %f\n\ +[i] how long: %f" % (log_file, how_often, time_to_do_it)) start = time.time() now = time.time -print("we out here, yo", flush=True) +print("[i] we out here, yo", flush=True) while (start + time_to_do_it) > now(): # print("we out here, yo", flush=True) - lat, lon, alt = [float(x) for x in subprocess.getoutput("src/dirty_hack").split(",")] + lat, lon, alt = [float(x) for x in subprocess.getoutput("src/dirty_hack.sh").split(",")] - print("%f: %f, %f, %f" % (time.time_ns() / (10**9), lat, lon, alt)) + print("[i] %f: %f, %f, %f" % (time.time_ns() / (10**9), lat, lon, alt)) f.write("%f: %f, %f, %f\n" % (time.time_ns() / (10**9), lat, lon, alt)) f.flush() |
