Update gntp-1.0.3

This commit is contained in:
JonnyWong16 2021-10-14 23:45:51 -07:00
commit e55576fd80
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
6 changed files with 15 additions and 26 deletions

View file

@ -69,7 +69,8 @@ class GrowlNotifier(object):
then we return False
'''
logger.info('Checking icon')
return gntp.shim.u(data).startswith('http')
return gntp.shim.u(data)[:4] in ['http', 'file']
def register(self):
"""Send GNTP Registration