From ab335e92275af6751d79717369d201678a91741e Mon Sep 17 00:00:00 2001 From: sparky8512 <76499194+sparky8512@users.noreply.github.com> Date: Tue, 19 Jan 2021 19:05:41 -0800 Subject: [PATCH] Fix time base setting when not verbose --- dishHistoryInflux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dishHistoryInflux.py b/dishHistoryInflux.py index ea6b3e0..2ce9cbd 100644 --- a/dishHistoryInflux.py +++ b/dishHistoryInflux.py @@ -230,7 +230,7 @@ def main(): if verbose: print("Establishing new time base: " + str(new_counter) + " -> " + str(datetime.fromtimestamp(timestamp, tz=timezone.utc))) - timestamp -= parsed_samples + timestamp -= parsed_samples for i in range(parsed_samples): gstate.points.append({