diff options
Diffstat (limited to 'ebknotify/client.py')
-rw-r--r-- | ebknotify/client.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ebknotify/client.py b/ebknotify/client.py index 3abcb07..73f2363 100644 --- a/ebknotify/client.py +++ b/ebknotify/client.py @@ -35,16 +35,6 @@ from datetime import datetime from dateutil.tz import tzlocal import logging -logging.basicConfig(level=logging.DEBUG) - -try: - from html import unescape # python 3.4+ -except ImportError: - try: - from html.parser import HTMLParser # python 3.x (<3.4) - except ImportError: - from HTMLParser import HTMLParser # python 2.x - unescape = HTMLParser().unescape class EbkClient: @@ -222,6 +212,4 @@ class EbkClient: locations = self.get_locations(url_suffix, depth, include_parent_path) return locations - def html_unescape(self, data): - return unescape(data.decode()) |