Skip to content
Snippets Groups Projects
Verified Commit 9fc96dfb authored by Timm Fitschen's avatar Timm Fitschen
Browse files

MAINT: please linter

parent 6e4db2f9
Branches
Tags
No related merge requests found
Pipeline #44870 passed
...@@ -96,7 +96,7 @@ def read_file(fipath, ftype): ...@@ -96,7 +96,7 @@ def read_file(fipath, ftype):
return df return df
def create_table_preview(fi): def create_table_preview(fi, entity_id):
if not ending_is_valid(fi.path): if not ending_is_valid(fi.path):
print("Cannot create preview for Entity with ID={}, because download" print("Cannot create preview for Entity with ID={}, because download"
"failed.".format(entity_id), file=sys.stderr) "failed.".format(entity_id), file=sys.stderr)
...@@ -142,4 +142,4 @@ if __name__ == "__main__": ...@@ -142,4 +142,4 @@ if __name__ == "__main__":
fi = get_file(entity_id) fi = get_file(entity_id)
create_table_preview(fi) create_table_preview(fi, entity_id)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment