suppress warning if the vte capability is not there

This commit is contained in:
Matt Rose 2020-10-26 12:35:26 -04:00
parent acba6fa34e
commit c7649b33e9
1 changed files with 3 additions and 1 deletions

View File

@ -24,8 +24,10 @@ VERSION = '0.1.0'
### Test for proper signal
try:
Vte.Terminal().connect('notification-received',lambda *args: None,None)
AVAILABLE = ['CommandNotify']
# AVAILABLE = ['CommandNotify']
AVAILABLE = []
except TypeError as e:
AVAILABLE = []
pass
class CommandNotify(plugin.Plugin):