diff --git a/terminatorlib/plugin.py b/terminatorlib/plugin.py index 7e76d9c5..9d2be0e2 100644 --- a/terminatorlib/plugin.py +++ b/terminatorlib/plugin.py @@ -173,7 +173,7 @@ class URLHandler(Plugin): def unload(self): """Handle being removed""" - if not self.match: + if not self.handler_name: err('unload called without self.handler_name being set') return terminator = Terminator()