*: Additional import path related changes

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2026-08-28 07:35:37 -04:00
1 parent baa44e91a2
commit c700e0866e
73 files changed
+418 -403

No files matched your search

+3 -3
View File
@@ -11,14 +11,14 @@ import argparse
import getpass
import sys
import plinth.web_framework
from plinth.modules.users import privileged
import freedombox.web_framework
from freedombox.modules.users import privileged
def main():
"""Ask for new password, setup Django and update a user's password."""
try:
plinth.web_framework.init()
freedombox.web_framework.init()
except Exception:
_print('Error initializing Django.')
return
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# SPDX-License-Identifier: AGPL-3.0-or-later
import plinth.privileged_daemon
import freedombox.privileged_daemon
plinth.privileged_daemon.client_main()
freedombox.privileged_daemon.client_main()
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# SPDX-License-Identifier: AGPL-3.0-or-later
import plinth.privileged_daemon
import freedombox.privileged_daemon
plinth.privileged_daemon.main()
freedombox.privileged_daemon.main()
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# SPDX-License-Identifier: AGPL-3.0-or-later
import plinth.__main__
import freedombox.__main__
plinth.__main__.main()
freedombox.__main__.main()