fix: [term Tracker] TimeoutException

pull/559/head
Terrtia 2021-02-23 14:33:50 +01:00
parent 04bd78934d
commit 3bf4254308
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ if __name__ == "__main__":
try: try:
dict_words_freq = Term.get_text_word_frequency(item_content) dict_words_freq = Term.get_text_word_frequency(item_content)
except TimeoutException: except TimeoutException:
print ("{0} processing timeout".format(paste.p_rel_path)) print ("{0} processing timeout".format(item_id))
continue continue
else: else:
signal.alarm(0) signal.alarm(0)