Minor styling changes in first boot module

This commit is contained in:
Sunil Mohan Adapa committed 2014-10-20 00:22:47 +05:30
1 parent 4637bba3eb
commit 0bb2dd51d8
6 files changed
+22 -16

No files matched your search

+6 -3
View File
@@ -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: