Commit d9c10402 authored by shadMod's avatar shadMod 💬

pass debug in init_data_directory()

quick reformat in license
parent d972b5e7
# Source code of the Ubuntu-it website # Source code of the Ubuntu-it website
# Copyright (C) 2015-2016 Pietro Albini <pietroalbini@ubuntu.com> # Copyright (C) 2015 Pietro Albini <pietroalbini@ubuntu.com>
# Copyright (C) 2023 shadMod # Copyright (C) 2023 shadMod <m.allegro@shadmod.com>
# #
# This program is free software: you can redistribute it and/or modify # 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 # it under the terms of the GNU Affero General Public License as published
...@@ -88,7 +88,7 @@ def init(data, debug): ...@@ -88,7 +88,7 @@ def init(data, debug):
"""Initialize the data directory""" """Initialize the data directory"""
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)
uitwww.init_data_directory(data_path) uitwww.init_data_directory(data_path, debug)
print("Created data directory:", data) print("Created data directory:", data)
compiler = CompileVersion( compiler = CompileVersion(
path_out=data_path + "/downloads.toml", path_out=data_path + "/downloads.toml",
......
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