fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix children books in toc
[librarian.git]
/
librarian
/
__init__.py
diff --git
a/librarian/__init__.py
b/librarian/__init__.py
index
d307def
..
9a9e23e
100644
(file)
--- a/
librarian/__init__.py
+++ b/
librarian/__init__.py
@@
-10,7
+10,7
@@
import re
import shutil
import urllib
import shutil
import urllib
-from
wolnelektury.utils
import makedirs
+from
util
import makedirs
class UnicodeException(Exception):
class UnicodeException(Exception):
@@
-84,7
+84,7
@@
class WLURI(object):
slug = None
example = 'http://wolnelektury.pl/katalog/lektura/template/'
slug = None
example = 'http://wolnelektury.pl/katalog/lektura/template/'
- _re_wl_uri = re.compile(r'http://(www\.)?wolnelektury.pl/katalog/lektur
a
/'
+ _re_wl_uri = re.compile(r'http://(www\.)?wolnelektury.pl/katalog/lektur
[ay]
/'
'(?P<slug>[-a-z0-9]+)/?$')
def __init__(self, uri):
'(?P<slug>[-a-z0-9]+)/?$')
def __init__(self, uri):