Added debug code

This commit is contained in:
jeancf 2022-11-28 19:43:41 +01:00
parent 03a514239a
commit fbe99609d2

View File

@ -159,6 +159,8 @@ def substitute_source(orig_url):
logging.debug("Checking domain %s for substitution ", domain) logging.debug("Checking domain %s for substitution ", domain)
logging.debug(TOML)
# Handle twitter # Handle twitter
twitter_subst = TOML["options"]["substitution"]["twitter"] twitter_subst = TOML["options"]["substitution"]["twitter"]
if domain.find('twitter.com') >=0 and twitter_subst != []: if domain.find('twitter.com') >=0 and twitter_subst != []: