1
0
mirror of https://github.com/ciromattia/kcc synced 2026-06-07 07:03:26 +00:00

General refactoring and tweaks

This commit is contained in:
Paweł Jastrzębski
2015-02-09 17:19:33 +01:00
parent 7924c492b3
commit f5dd813c4c
5 changed files with 130 additions and 155 deletions
+4 -1
View File
@@ -20,11 +20,14 @@ import os
from hashlib import md5
from html.parser import HTMLParser
from distutils.version import StrictVersion
from scandir import walk
from time import sleep
from shutil import rmtree, move
from tempfile import mkdtemp
from zipfile import ZipFile, ZIP_DEFLATED
try:
from scandir import walk
except ImportError:
walk = None
class HTMLStripper(HTMLParser):