[modules/yubikey] Update less frequently

This commit is contained in:
tobi-wan-kenobi 2020-04-13 09:44:06 +02:00
parent b87dcad9c2
commit d0a264da21

View file

@ -16,7 +16,7 @@ import core.widget
import core.decorators import core.decorators
class Module(core.module.Module): class Module(core.module.Module):
@core.decorators.every(seconds=1) @core.decorators.every(seconds=5)
def __init__(self, config): def __init__(self, config):
super().__init__(config, core.widget.Widget(self.keystate)) super().__init__(config, core.widget.Widget(self.keystate))
self.__keystate = 'No YubiKey' self.__keystate = 'No YubiKey'