Skip to content

Commit

Permalink
Fixes #339: Resource file missing during validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jerearista committed Apr 6, 2017
1 parent 4040b06 commit 443e61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ztpserver/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def validate_definitions():
resources_path = os.path.join(data_root,
'resources')
resource_files = [x.split('/')[-1]
for x in resources_path]
for x in os.listdir(resources_path)]
missing_resources = [x for (y, x) in resources
if x not in resource_files and
y == 'allocate']
Expand Down

1 comment on commit 443e61a

@jerearista
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds to #313

Please sign in to comment.