X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/12b5230d8fdb3ad995e867fb5d58a69e8a627e68..05bb39f39042b3a48e5a902c35b74e0dff3f80f7:/librarian/__init__.py?ds=inline diff --git a/librarian/__init__.py b/librarian/__init__.py index d307def..9a9e23e 100644 --- a/librarian/__init__.py +++ b/librarian/__init__.py @@ -10,7 +10,7 @@ import re import shutil import urllib -from wolnelektury.utils import makedirs +from util import makedirs class UnicodeException(Exception): @@ -84,7 +84,7 @@ class WLURI(object): slug = None example = 'http://wolnelektury.pl/katalog/lektura/template/' - _re_wl_uri = re.compile(r'http://(www\.)?wolnelektury.pl/katalog/lektura/' + _re_wl_uri = re.compile(r'http://(www\.)?wolnelektury.pl/katalog/lektur[ay]/' '(?P[-a-z0-9]+)/?$') def __init__(self, uri):