fix: [telegram module] typo

This commit is contained in:
Terrtia 2020-05-11 14:48:12 +02:00
parent 013f32c7d1
commit 8f31b9b90c
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -122,7 +122,7 @@ def search_telegram(item_id, item_date, item_content):
for telegram_link in telegram_links: for telegram_link in telegram_links:
res = extract_data_from_telegram_url(item_id, item_date, telegram_link[0], telegram_link[1]) res = extract_data_from_telegram_url(item_id, item_date, telegram_link[0], telegram_link[1])
if res; if res:
invite_code_found = True invite_code_found = True
# tg links # tg links
@ -138,7 +138,7 @@ def search_telegram(item_id, item_date, item_content):
for tg_link in tg_links: for tg_link in tg_links:
res = extract_data_from_tg_url(item_id, item_date, tg_link) res = extract_data_from_tg_url(item_id, item_date, tg_link)
if res; if res:
invite_code_found = True invite_code_found = True
if invite_code_found: if invite_code_found: