mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Minor styling changes in first boot module
This commit is contained in:
1 parent
4637bba3eb
commit
0bb2dd51d8
6 files changed
+22
-16
No files matched your search
@@ -142,9 +142,12 @@ def get_modules_to_load():
|
||||
|
||||
modules = []
|
||||
module_directory = os.path.join(cfg.config_dir, 'modules-enabled')
|
||||
# omit hidden files
|
||||
file_names = [f for f in os.listdir(module_directory) if not
|
||||
f.startswith(".")]
|
||||
|
||||
# Omit hidden files
|
||||
file_names = [file
|
||||
for file in os.listdir(module_directory)
|
||||
if not file.startswith('.')]
|
||||
|
||||
for file_name in file_names:
|
||||
full_file_name = os.path.join(module_directory, file_name)
|
||||
with open(full_file_name, 'r') as file:
|
||||
|
||||
Reference in new issue
Block a user