mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-30 15:31:11 +00:00
Added debug code
This commit is contained in:
parent
03a514239a
commit
fbe99609d2
2
twoot.py
2
twoot.py
|
@ -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 != []:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user