mirror of
https://github.com/Watchful1/PushshiftDumps.git
synced 2025-07-28 00:55:17 -04:00
How did this ever work
This commit is contained in:
parent
a303ade2f7
commit
60fcbe0b2f
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ if __name__ == '__main__':
|
||||||
for line in input_handle:
|
for line in input_handle:
|
||||||
try:
|
try:
|
||||||
field, count = line.strip().split("\t")
|
field, count = line.strip().split("\t")
|
||||||
field_counts[field] = int(count)
|
field_counts[field] += int(count)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
log.info(f"Line failed in file {file.count_file_path}: {line}")
|
log.info(f"Line failed in file {file.count_file_path}: {line}")
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue