fixed some bugs

rearranged all to single request only
ready for first release \o/
This commit is contained in:
Giovanni Harting
2015-09-13 16:55:07 +02:00
parent 1623bba1fe
commit ad009bd0d5
3 changed files with 59 additions and 78 deletions

View File

@@ -84,11 +84,11 @@ class Controller:
self.id = cid
self.db = db
self.stripes = []
self.load_stripes()
self._pwm_freq = None
self.pwm_freq = pwm_freq
if not from_db:
self.save_to_db()
self.load_stripes()
def load_stripes(self):
cur = self.db.cursor()