get up for school you're gonna be late

This commit is contained in:
codl 2017-07-30 01:35:29 +02:00
parent 9b4c6b6404
commit 165c632153
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ class RemoteIDMixin(object):
@property
def twitter_id(self):
if not self.id:
return None
if self.service != "twitter":
raise Exception("wrong service bucko")
return self.id.split(":")[1]