Skip to content
Snippets Groups Projects
Commit 24246bdb authored by Benjamin Murauer's avatar Benjamin Murauer
Browse files

fixed bug in writing non-existing parsed files

parent d1490d86
No related branches found
No related tags found
No related merge requests found
...@@ -154,7 +154,8 @@ def parse_dependency(input_directory, text_column_name, language_column_name, ...@@ -154,7 +154,8 @@ def parse_dependency(input_directory, text_column_name, language_column_name,
return True return True
if os.path.isfile(f): if os.path.isfile(f):
return os.path.getsize(f) == 0 return os.path.getsize(f) == 0
return False else:
return True
tuples = [ tuples = [
(in_file, out_file, language) (in_file, out_file, language)
......
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