From 196368efd5d28b779e7d8af4916cd22d8ff69e07 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 22 Mar 2016 16:17:39 +0100 Subject: [PATCH] unescape from pipobot.lib.utils instead of py3.4+ standard lib --- twitter/__init__.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/twitter/__init__.py b/twitter/__init__.py index c0ed665..05723fa 100644 --- a/twitter/__init__.py +++ b/twitter/__init__.py @@ -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'