2
0
mirror of https://github.com/codl/forget synced 2025-01-06 12:17:28 +01:00

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

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]