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
d9c10402
Commit
d9c10402
authored
Dec 27, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pass debug in init_data_directory()
quick reformat in license
parent
d972b5e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
uitwww/main.py
uitwww/main.py
+3
-3
No files found.
uitwww/main.py
View file @
d9c10402
# Source code of the Ubuntu-it website
# Copyright (C) 2015
-2016
Pietro Albini <pietroalbini@ubuntu.com>
# Copyright (C) 2023
shadMod
# Copyright (C) 2015 Pietro Albini <pietroalbini@ubuntu.com>
# Copyright (C) 2023
shadMod <m.allegro@shadmod.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
...
...
@@ -88,7 +88,7 @@ def init(data, debug):
"""Initialize the data directory"""
data_path
=
os
.
path
.
expanduser
(
os
.
path
.
abspath
(
data
))
print
(
"Initializing data directory:"
,
data
)
uitwww
.
init_data_directory
(
data_path
)
uitwww
.
init_data_directory
(
data_path
,
debug
)
print
(
"Created data directory:"
,
data
)
compiler
=
CompileVersion
(
path_out
=
data_path
+
"/downloads.toml"
,
...
...
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