fsddfs
This commit is contained in:
parent
6d8ff75daf
commit
6d9727d0b8
2 changed files with 3 additions and 3 deletions
|
@ -223,13 +223,13 @@ class Submission(Base):
|
|||
@property
|
||||
@lazy
|
||||
def full_thumb(self):
|
||||
if self.thumb_url.startswith('/'): return 'https://rdrama.net' + self.thumb_url
|
||||
if self.thumb_url.startswith('/'): return f'https://{site}' + self.thumb_url
|
||||
return self.thumb_url
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def full_url(self):
|
||||
if self.url.startswith('/'): return 'https://rdrama.net' + self.url
|
||||
if self.url.startswith('/'): return f'https://{site}' + self.url
|
||||
return self.url
|
||||
|
||||
@property
|
||||
|
|
|
@ -446,7 +446,7 @@ class User(Base):
|
|||
@property
|
||||
@lazy
|
||||
def full_profileurl(self):
|
||||
if self.profile_url.startswith('/'): return 'https://rdrama.net' + self.profile_url
|
||||
if self.profile_url.startswith('/'): return f'https://{site}' + self.profile_url
|
||||
return self.profile_url
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue