From 61c5b8f791636e7a9a345337ec2c784765bd70af Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 7 Nov 2023 06:51:55 -0600 Subject: [PATCH] Need the env here --- config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.py b/config.py index 86f093a..246b3cd 100644 --- a/config.py +++ b/config.py @@ -1,6 +1,10 @@ #!/usr/bin/python3 +from os import environ as env +from dotenv import load_dotenv +load_dotenv() __version__ = "v1.0.5" npbase = "\[\x0303last\.fm\x03\] [A-Za-z0-9_[\]{}\\|^]{1,MAX} (is listening|last listened) to: \x02.+ - .*\x02( \([0-9]+ plays\)( \[.*\])?)?" +su = "^(su|sudo|(su .*|sudo .*))$" servers = { "ircnow": { "address": "localhost",