remotes/1693045480750635534/spooky-22
Aevann1 2021-08-21 09:01:02 +02:00
parent 1cc515f452
commit ab2a7d1bac
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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)