mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +00:00
fix: [term Tracker] TimeoutException
This commit is contained in:
parent
04bd78934d
commit
3bf4254308
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue