From 0884ffb4bcb5cac0a05d720ec46f0c77692cd2d4 Mon Sep 17 00:00:00 2001
From: am0ebe <am0ebe@gmx.de>
Date: Tue, 12 Jan 2021 14:50:27 +0100
Subject: [PATCH] rm tmp py dir and update gitignore

---
 .gitignore | 1 +
 skyglow.py | 5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 82a584d..fb7edd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 skyglow.log
 moon?*
 README.html
+__pycache__
\ No newline at end of file
diff --git a/skyglow.py b/skyglow.py
index d5d66e5..72e7a4b 100755
--- a/skyglow.py
+++ b/skyglow.py
@@ -60,8 +60,7 @@ skyglow = [ 15, # one 0.08
 NUM_ECO_UNITS = len(skyglow)
 sunrise = 0
 sunset = 0
-#datetime.now(timezone.utc) #create aware!
-#utcnow() / utcfromtimestamp()
+#UTC: utcfromtimestamp() / datetime.now(timezone.utc)
 now = dt.utcnow().replace(second=0, microsecond=0) # ignore seconds and microseconds
 
 #mlx (idx is also dmx-byte value)
@@ -306,7 +305,7 @@ def main(args=""):
 		client = wrapper.Client()
 		# send 1 dmx frame with values for channels 1-3 for all ecounits
 		client.SendDmx(UNIVERSE, data, dmxSent)
-	  	client.RegisterUniverse(UNIVERSE, client.REGISTER, dmxReceive)
+		client.RegisterUniverse(UNIVERSE, client.REGISTER, dmxReceive)
 		wrapper.Run()
 	except Exception as e:
 		error(FAIL_DMX,e)
-- 
GitLab