Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRizoel authored Apr 4, 2023
1 parent 2fc9b17 commit bfb27a7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions SpamX/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
DATABASE_URL = DATABASE_URL.replace("postgres", "postgresql")

WELCOME = os.getenv("WELCOME", None)
if re.search("off|no|disable|false".lower(), WELCOME.lower()):
group_welcome = False
else:
group_welcome = True
if WELCOME:
if re.search("off|no|disable|false".lower(), WELCOME.lower()):
group_welcome = False
else:
group_welcome = True

0 comments on commit bfb27a7

Please sign in to comment.