aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTollef Fog Heen <tfheen@err.no>2015-08-29 17:41:54 +0200
committerTollef Fog Heen <tfheen@err.no>2015-08-29 17:41:54 +0200
commit5567f3f5b14445820b4a08f076b193a6f4c173c7 (patch)
tree37877d134e7ec84235e0abfac0f609e8610ea7fa
parentaab61ab4a030f29ad6f825a8d980fddcfe43e16c (diff)
downloadwee-slack-5567f3f5b14445820b4a08f076b193a6f4c173c7.tar.gz
Drop debugging output
-rw-r--r--wee_slack.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 6421e66..885dc3d 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1498,7 +1498,6 @@ def unfurl_refs(text, ignore_alt_text=False):
"""
Worst code ever written. this needs work
"""
- print text
if text and text.find('<') > -1:
end = 0
newtext = ""
@@ -1512,7 +1511,6 @@ def unfurl_refs(text, ignore_alt_text=False):
break
# Format thingabob
newtext += unfurl_ref(text[1:end], ignore_alt_text)
- print "unfurl:", text[1:-1], "ZXZ", unfurl_ref(text[1:-1], ignore_alt_text)
text = text[end+1:]
newtext += text
return newtext