forked from rDrama/rDrama
master
parent
1cc515f452
commit
ab2a7d1bac
|
@ -474,7 +474,7 @@ class User(Base, Stndrd, Age_times):
|
|||
|
||||
@cache.memoize()
|
||||
def defaultpicture(self):
|
||||
pic = random.randint(1, 130)
|
||||
pic = random.randint(1, 150)
|
||||
return f"https://{site}/assets/images/defaultpictures/{pic}.gif"
|
||||
|
||||
@property
|
||||
|
|
|
@ -7,7 +7,6 @@ def full_link(url):
|
|||
|
||||
return f"https://{app.config['SERVER_NAME']}{url}"
|
||||
|
||||
|
||||
@app.template_filter("app_config")
|
||||
def app_config(x):
|
||||
return app.config.get(x)
|
||||
|
|
Loading…
Reference in New Issue