Skip to content

Commit

Permalink
Rename download.txt -> download.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Apr 14, 2024
1 parent e439ce8 commit 9c466cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 8 additions & 0 deletions config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[DEFAULT]
FirstPack: 1
LastPack: 1411
BatchSize: 3
DownloadFolder: beatpacks

[Custom]
FirstPack: 1260
8 changes: 0 additions & 8 deletions config.txt

This file was deleted.

2 changes: 1 addition & 1 deletion lib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 9c466cc

Please sign in to comment.