Added a debug

This commit is contained in:
Anton Hvornum 2020-08-04 14:56:50 +02:00
parent b2a8fd9857
commit 2af2f90280
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ def list_profiles(base='./profiles/'):
description = '' description = ''
with open(os.path.join(root, file), 'r') as fh: with open(os.path.join(root, file), 'r') as fh:
first_line = fh.readline() first_line = fh.readline()
print(first_line)
if first_line[0] == '#': if first_line[0] == '#':
description = first_line.strip() description = first_line.strip()