Files
Lina Ceballosanddb0 2a75039034 NGI - Updating licensing aspects according to REUSE (#440)
* creating LICENSES directory

* adding headers with copyright and license info to various files

* fix: switch to AGPL 3-or-later

* feat: added all missing licenses

* chore: linting

* ci: Added reuse lint job

---------

Co-authored-by: db0 <mail@dbzer0.com>
2024-08-10 14:00:03 +02:00

17 lines
334 B
Python

# SPDX-FileCopyrightText: 2022 Konstantinos Thoukydidis <mail@dbzer0.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
class Switch:
active = False
def activate(self):
self.active = True
def disable(self):
self.active = False
def toggle(self, value):
self.active = value