master
Aevann1 2021-08-22 22:31:18 +02:00
commit 097946c8d4
2 changed files with 3 additions and 3 deletions

View File

@ -17,8 +17,8 @@ from files.__main__ import Base, cache
from files.helpers.security import * from files.helpers.security import *
site = environ.get("DOMAIN").strip() site = environ.get("DOMAIN").strip()
defaulttheme = environ.get("DEFAULT_THEME").strip() defaulttheme = environ.get("DEFAULT_THEME", "light").strip()
defaultcolor = environ.get("DEFAULT_COLOR").strip() defaultcolor = environ.get("DEFAULT_COLOR", "fff").strip()
class User(Base, Stndrd, Age_times): class User(Base, Stndrd, Age_times):
__tablename__ = "users" __tablename__ = "users"
id = Column(Integer, primary_key=True) id = Column(Integer, primary_key=True)

View File

@ -18,7 +18,7 @@ valid_password_regex = re.compile("^.{8,100}$")
YOUTUBE_KEY = environ.get("YOUTUBE_KEY", "").strip() YOUTUBE_KEY = environ.get("YOUTUBE_KEY", "").strip()
COINS_NAME = environ.get("COINS_NAME").strip() COINS_NAME = environ.get("COINS_NAME").strip()
GUMROAD_TOKEN = environ.get("GUMROAD_TOKEN").strip() GUMROAD_TOKEN = environ.get("GUMROAD_TOKEN", "").strip()
tiers={ tiers={
"(Paypig)": 1, "(Paypig)": 1,