sneed
This commit is contained in:
parent
774918a17f
commit
0564b31892
131 changed files with 2 additions and 2 deletions
|
@ -473,8 +473,8 @@ class User(Base, Stndrd, Age_times):
|
|||
|
||||
@cache.memoize()
|
||||
def defaultpicture(self):
|
||||
pic = random.randint(1, 50)
|
||||
return f"https://{site}/assets/images/defaultpictures/{pic}.png"
|
||||
pic = random.randint(1, 130)
|
||||
return f"https://{site}/assets/images/defaultpictures/{pic}.gif"
|
||||
|
||||
@property
|
||||
def profile_url(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue