Skip to content

Commit

Permalink
unescape from pipobot.lib.utils instead of py3.4+ standard lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhem Saurel committed Mar 22, 2016
1 parent 6fd5619 commit 196368e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions twitter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
from pipobot.lib.modules import AsyncModule, Pasteque
from pipobot.lib.utils import unescape
from twython import Twython, TwythonError

from .model import LastTweets, Tweets

try:
from html import unescape
except:
def unescape(x):
return x


RT = 'retweeted_status'


Expand Down

0 comments on commit 196368e

Please sign in to comment.