diff --git a/splitgpg2/__init__.py b/splitgpg2/__init__.py index 0d0a52e..9196771 100755 --- a/splitgpg2/__init__.py +++ b/splitgpg2/__init__.py @@ -366,6 +366,9 @@ def request_timer(self, name): delay = self.timer_delay[name] timestamp_path = self.timestamp_path(name) if delay is not None: + if delay < 0: + self.notify('command {} automatically allowed'.format(name)) + return try: mtime = timestamp_path.stat().st_mtime if mtime + delay > now: