aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'util.py')
-rw-r--r--util.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/util.py b/util.py
index 9bf6300..e376649 100644
--- a/util.py
+++ b/util.py
@@ -31,6 +31,11 @@ def load_config():
config["pack"]["whitelist"] = []
else:
config["pack"]["whitelist"] = config["pack"]["whitelist"].split(",")
+
+ if "blacklist" not in config["pack"]:
+ config["pack"]["blacklist"] = []
+ else:
+ config["pack"]["blacklist"] = config["pack"]["blacklist"].split(",")
config["pack"]["game_version"] = game_version_from_string(config["pack"]["game_version"])