Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
eaf902ee
Commit
eaf902ee
authored
Nov 02, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mv downloads.toml in data/
parent
19be065b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
.gitignore
.gitignore
+0
-3
uitwww/download.py
uitwww/download.py
+1
-1
uitwww/main.py
uitwww/main.py
+1
-1
No files found.
.gitignore
View file @
eaf902ee
...
@@ -14,6 +14,3 @@ __pycache__
...
@@ -14,6 +14,3 @@ __pycache__
# Compiled assets
# Compiled assets
/uitwww/static/website.css
/uitwww/static/website.css
/uitwww/static/website.js
/uitwww/static/website.js
# Compiled downloads toml
downloads.toml
\ No newline at end of file
uitwww/download.py
View file @
eaf902ee
...
@@ -30,7 +30,7 @@ from . import cache
...
@@ -30,7 +30,7 @@ from . import cache
from
.
import
launchpad
from
.
import
launchpad
from
.constants
import
UITWWW_DIR
from
.constants
import
UITWWW_DIR
CONFIG_FILE
=
"/data/downloads.toml"
CONFIG_FILE
=
"/
../
data/downloads.toml"
CACHE_FILE
=
"download-cache.json"
CACHE_FILE
=
"download-cache.json"
CACHE_FILE_VERSION
=
1
CACHE_FILE_VERSION
=
1
...
...
uitwww/main.py
View file @
eaf902ee
...
@@ -86,7 +86,7 @@ def init(data, debug):
...
@@ -86,7 +86,7 @@ def init(data, debug):
data_path
=
os
.
path
.
expanduser
(
os
.
path
.
abspath
(
data
))
data_path
=
os
.
path
.
expanduser
(
os
.
path
.
abspath
(
data
))
print
(
"Initializing data directory:"
,
data
)
print
(
"Initializing data directory:"
,
data
)
compiler
=
CompileVersion
(
compiler
=
CompileVersion
(
path_out
=
UITWWW
_DIR
+
"/data/downloads.toml"
,
path_out
=
BASE
_DIR
+
"/data/downloads.toml"
,
constants
=
UITWWW_DIR
+
"/src/download/assets/constants.json"
,
constants
=
UITWWW_DIR
+
"/src/download/assets/constants.json"
,
)
)
compiler
.
compile_download
()
compiler
.
compile_download
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment