From fbb30b8bcf79ddf6a9ec65417067f5313ee72311 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 18 Mar 2022 23:29:06 +0200 Subject: [PATCH] fsd --- files/classes/user.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 3ab85e900..e55c6e7c0 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -27,9 +27,6 @@ defaulttheme = environ.get("DEFAULT_THEME", "midnight").strip() defaulttimefilter = environ.get("DEFAULT_TIME_FILTER", "all").strip() cardview = bool(int(environ.get("CARD_VIEW", 1))) -if SITE_NAME == 'Drama': defaultsubs = 2 -else: defaultsubs = 2 - class User(Base): __tablename__ = "users" @@ -127,7 +124,7 @@ class User(Base): original_username = deferred(Column(String)) referred_by = Column(Integer, ForeignKey("users.id")) subs_created = Column(Integer, default=0) - subs = Column(Integer, default=defaultsubs) + subs = Column(Integer, default=2) badges = relationship("Badge", viewonly=True) subscriptions = relationship("Subscription", viewonly=True)