Skip to content

Commit

Permalink
Merge e55e99e into 00ba7e2
Browse files Browse the repository at this point in the history
  • Loading branch information
ostavnaas committed Jul 19, 2017
2 parents 00ba7e2 + e55e99e commit e4ea085
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions elodie/filesystem.py
Expand Up @@ -196,20 +196,18 @@ def get_folder_path_definition(self):

self.cached_folder_path_definition = []
for part in path_parts:
part = part.replace('%', '')
if part in config_directory:
part = part[1:]
self.cached_folder_path_definition.append(
[(part, config_directory[part])]
)
elif part in self.default_parts:
part = part[1:]
self.cached_folder_path_definition.append(
[(part, '')]
)
else:
this_part = []
for p in part.split('|'):
p = p[1:]
this_part.append(
(p, config_directory[p] if p in config_directory else '')
)
Expand Down

0 comments on commit e4ea085

Please sign in to comment.