fix: soft-fail on unknown service type
This commit is contained in:
@@ -280,7 +280,8 @@ class Service(Queryable):
|
|||||||
elif self.service == 'Yahoo':
|
elif self.service == 'Yahoo':
|
||||||
typ = 'ymsgr'
|
typ = 'ymsgr'
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError('Unknown Service: ' + self.service)
|
typ = 'unknown'
|
||||||
|
print(f'Unknown Service: "{self.service}"', file=sys.stderr)
|
||||||
|
|
||||||
# Dear Apple, why do you do such weird shit, URL encoding? bah!
|
# Dear Apple, why do you do such weird shit, URL encoding? bah!
|
||||||
# Even worse, you break it so that reimport fails.
|
# Even worse, you break it so that reimport fails.
|
||||||
|
|||||||
Reference in New Issue
Block a user