Skip to content
Snippets Groups Projects
Commit bc61cc71 authored by mads's avatar mads
Browse files

sorts files

parent 826ca1ca
No related branches found
No related tags found
No related merge requests found
...@@ -255,7 +255,7 @@ class DLCHighLevel(object): ...@@ -255,7 +255,7 @@ class DLCHighLevel(object):
if files: if files:
f_prob = self.probability(props, files[0], files) / len(files) f_prob = self.probability(props, files[0], files) / len(files)
f_hours_pr_20year = 365 * 24 * years * f_prob f_hours_pr_20year = 365 * 24 * years * f_prob
for f in files: for f in sorted(files):
fh_lst.append((f, f_hours_pr_20year)) fh_lst.append((f, f_hours_pr_20year))
return fh_lst return fh_lst
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment