diff --git a/splitgpg2/__init__.py b/splitgpg2/__init__.py index 1d2e44a..c3a619e 100755 --- a/splitgpg2/__init__.py +++ b/splitgpg2/__init__.py @@ -330,7 +330,7 @@ def request_timer(self, name): short_msg, 'for the next {}s'.format(delay) if delay is not None else '') if subprocess.call(['zenity', '--question', '--title', short_msg, - '--text', question]) != 0: + '--text', question, '--timeout', '30']) != 0: raise Filtered self.notify('command {} allowed'.format(name))