Commit eaf902ee authored by shadMod's avatar shadMod 💬

mv downloads.toml in data/

parent 19be065b
......@@ -14,6 +14,3 @@ __pycache__
# Compiled assets
/uitwww/static/website.css
/uitwww/static/website.js
# Compiled downloads toml
downloads.toml
\ No newline at end of file
......@@ -30,7 +30,7 @@ from . import cache
from . import launchpad
from .constants import UITWWW_DIR
CONFIG_FILE = "/data/downloads.toml"
CONFIG_FILE = "/../data/downloads.toml"
CACHE_FILE = "download-cache.json"
CACHE_FILE_VERSION = 1
......
......@@ -86,7 +86,7 @@ def init(data, debug):
data_path = os.path.expanduser(os.path.abspath(data))
print("Initializing data directory:", data)
compiler = CompileVersion(
path_out=UITWWW_DIR + "/data/downloads.toml",
path_out=BASE_DIR + "/data/downloads.toml",
constants=UITWWW_DIR + "/src/download/assets/constants.json",
)
compiler.compile_download()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment