Compare commits
2 Commits
cf38101981
...
13138174a3
| Author | SHA1 | Date | |
|---|---|---|---|
| 13138174a3 | |||
| 0d9bf14881 |
@@ -6,7 +6,6 @@ import sys
|
||||
import json
|
||||
|
||||
VERSION = "0.0.1"
|
||||
|
||||
# Load configuration
|
||||
ROBLOSECURITY = config.roblosecurity or None
|
||||
DST_DIR = config.dst_dir or './AppSettings'
|
||||
@@ -34,7 +33,7 @@ stdout_handler.setFormatter(log_format)
|
||||
logfile_handler = logging.FileHandler("logs/appsettings.log", mode="w")
|
||||
logfile_handler.setFormatter(log_format)
|
||||
log = logging.getLogger("AppSettings-archiver")
|
||||
log.setLevel(logging.INFO)
|
||||
log.setLevel(LOG_LEVEL)
|
||||
log.addHandler(stdout_handler)
|
||||
log.addHandler(logfile_handler)
|
||||
|
||||
@@ -42,7 +41,7 @@ if ROBLOSECURITY is None:
|
||||
log.warning(f"{"#"*6} ROBLOSECURITY IS NOT SET, SOME FFLAGS MAY BE MISSING {"#"*6}")
|
||||
|
||||
if log.level == logging.DEBUG:
|
||||
log.warning(f"{"#"*6} DEBUG MODE ENABLED, THIS IS A LITTLE LOUDER {"#"*6}")
|
||||
log.warning(f"{"#"*6} DEBUG LOGS ENABLED, THIS IS A LITTLE LOUDER {"#"*6}")
|
||||
|
||||
os.makedirs(DST_DIR, exist_ok=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user