Created
September 20, 2014 22:54
-
-
Save prologic/ce484b5978018db9b279 to your computer and use it in GitHub Desktop.
created by github.com/tr3buchet/gister
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@handler("signal") | |
def _on_signal(self, *args, **kwargs): | |
"""signal Event Handler""" | |
self.fire(close()) | |
Timer(3, terminate()).register(self) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment