diff --git a/config.ini b/config.ini new file mode 100644 index 0000000..bfc5e35 --- /dev/null +++ b/config.ini @@ -0,0 +1,8 @@ +[DEFAULT] +FirstPack: 1 +LastPack: 1411 +BatchSize: 3 +DownloadFolder: beatpacks + +[Custom] +FirstPack: 1260 diff --git a/config.txt b/config.txt deleted file mode 100644 index 7fc833d..0000000 --- a/config.txt +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -FirstPack = 1 -LastPack = 1411 -BatchSize = 3 -DownloadFolder = beatpacks - -[Custom] -FirstPack = 1230 diff --git a/lib/config.py b/lib/config.py index 5062876..5269270 100644 --- a/lib/config.py +++ b/lib/config.py @@ -23,7 +23,7 @@ def try_user(config, profile): def get_config(): """Returns config values from config.txt""" raw_config = configparser.ConfigParser() - raw_config.read("config.txt") + raw_config.read("config.ini") profile = "DEFAULT" if input("Use DEFAULT config? y/n\t").lower() != "y": profile = input("Config profile name:\t")