Bläddra i källkod

Hotfix for v1.0-rel

It was found that background actions would be cleared after turning off
the main macro (Tyrell)... this in turn would turn on a action, then
promptly turn it off in the closing statements of the action processing
(for calling, toggling, etc)
apollo 4 dagar sedan
förälder
incheckning
695371fa86
1 ändrade filer med 1 tillägg och 4 borttagningar
  1. 1 4
      tyrell.py

+ 1 - 4
tyrell.py

@@ -7,7 +7,7 @@ from time import sleep as _sleep
 
 from typing import Dict as _Dict, List as _List, Optional as _Option, Any as _Any
 
-VERSION: str = '1.0-rel'
+VERSION: str = '1.0-rel2'
 
 try:
     from click import echo as _echo, style as _style, command as _command, option as _option, argument as _arg
@@ -574,9 +574,6 @@ class Profile:
             self._state = True
         elif off and not on:
             self._state = False
-            for act in self._actions:
-                a = self._actions[act]
-                a.toggle(off=True)
         return self._state
     
     def show_help(self):