Skip to content

Commit

Permalink
pattern generator: add secret config option to set pattern generator …
Browse files Browse the repository at this point in the history
…off by default
  • Loading branch information
thinkl33t committed Jun 1, 2024
1 parent 86d7d68 commit 33549ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/patterndisplay/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self):
_pmodule = __import__(_patternpath, globals(), locals(), [_patternclass])
_pclass = getattr(_pmodule, _patternclass)
self._p = _pclass()
self.enabled = True
self.enabled = settings.get("pattern_generator_enabled", True)
except:
raise ImportError(f"Pattern {self.pattern} not found!")

Expand Down

0 comments on commit 33549ff

Please sign in to comment.