Fixed description support

This commit is contained in:
Anton Hvornum 2020-08-04 14:58:10 +02:00
parent b29c35de23
commit 11f36102db
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def list_profiles(base='./profiles/'):
with open(os.path.join(root, file), 'r') as fh:
first_line = fh.readline()
if first_line[0] == '#':
description = first_line.strip()
description = first_line[1:].strip()
cache[file] = {'path' : os.path.join(root, file), 'description' : description}
break