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
a5f976f0
Commit
a5f976f0
authored
Dec 27, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pass debug in News() and init_data_directory()
parent
e8f30490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
uitwww/__init__.py
uitwww/__init__.py
+2
-2
No files found.
uitwww/__init__.py
View file @
a5f976f0
...
@@ -47,7 +47,7 @@ def create_app(data_path, debug=False):
...
@@ -47,7 +47,7 @@ def create_app(data_path, debug=False):
)
)
# Prepare the data directory
# Prepare the data directory
init_data_directory
(
data_path
)
init_data_directory
(
data_path
,
debug
)
# Load the secret key
# Load the secret key
with
open
(
os
.
path
.
join
(
data_path
,
"secret_key"
))
as
fn
:
with
open
(
os
.
path
.
join
(
data_path
,
"secret_key"
))
as
fn
:
...
@@ -62,7 +62,7 @@ def create_app(data_path, debug=False):
...
@@ -62,7 +62,7 @@ def create_app(data_path, debug=False):
utils
.
prepare_app
(
app
)
utils
.
prepare_app
(
app
)
app
.
news
=
News
()
app
.
news
=
News
(
debug
)
app
.
download
=
Downloads
(
data_path
)
app
.
download
=
Downloads
(
data_path
)
app
.
register_blueprint
(
redirects
.
prepare_blueprint
(
app
))
app
.
register_blueprint
(
redirects
.
prepare_blueprint
(
app
))
...
...
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