mirror of
https://github.com/codl/forget
synced 2025-01-22 20:00:44 +01:00
get up for school you're gonna be late
This commit is contained in:
parent
9b4c6b6404
commit
165c632153
2
model.py
2
model.py
@ -21,6 +21,8 @@ class RemoteIDMixin(object):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def twitter_id(self):
|
def twitter_id(self):
|
||||||
|
if not self.id:
|
||||||
|
return None
|
||||||
if self.service != "twitter":
|
if self.service != "twitter":
|
||||||
raise Exception("wrong service bucko")
|
raise Exception("wrong service bucko")
|
||||||
return self.id.split(":")[1]
|
return self.id.split(":")[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user