fix: [term Tracker] TimeoutException

This commit is contained in:
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

View file

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