collision de nom de variable

This commit is contained in:
Jean-Marie Favreau 2025-02-14 09:26:53 +01:00
parent c7766b022c
commit 09773bee71

View File

@ -52,11 +52,11 @@ class URL2Events:
if events is not None:
if len(events) > 0:
return events
except Exception as e:
except Exception as ex:
if first and FacebookEventExtractor.is_known_url(url) and self.downloader.support_2nd_extract and e.has_2nd_method:
logger.info('Using cookie trick on a facebook event')
e.prepare_2nd_extract()
return self.process(url, url_human, cache, default_values, published, False)
else:
raise e
raise ex
return None