From 8780abcc77f391009da719501df0f610fc1f9c90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 10 Jan 2017 14:24:58 +0100 Subject: [PATCH] fix a small spelling error --- .travis.yml | 3 ++- gallery_dl/text.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 33b52ebe..a7da072d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,5 @@ python: install: - pip install -r requirements.txt script: - - nosetests --verbose test + - if [[ $TRAVIS_PYTHON_VERSION != '3.3' ]]; then nosetests --ignore-files=test_extractors --verbose test; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then nosetests --verbose test; fi diff --git a/gallery_dl/text.py b/gallery_dl/text.py index 8b4ce91d..2f82356c 100644 --- a/gallery_dl/text.py +++ b/gallery_dl/text.py @@ -116,5 +116,5 @@ unquote = urllib.parse.unquote try: unescape = html.unescape except AttributeError: - import html.parse - unescape = html.parse.HTMLParser().unescape + import html.parser + unescape = html.parser.HTMLParser().unescape