Commit 3001ec20308b2e7494a4038f55c7392f644c25b2

Authored by Etienne Pallier
1 parent d472d2f7
Exists in dev

majordome small fix

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
src/majordome/tasks.py
... ... @@ -37,7 +37,11 @@ log = L.setupLogger("MajordomeTaskLogger", "Majordome")
37 37 check if the last schedule made has to be planned
38 38 launch schedule's sequences
39 39 '''
40   -class Majordome(Task, Thread):
  40 +
  41 +
  42 +class Majordome(Task):
  43 +# (EP) do this so that Majordome can be run from a thread, and called with thread.start():
  44 +#class Majordome(Task, Thread):
41 45  
42 46 loop_speed = 1
43 47 julian_div = 86400
... ...