fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rel
[librarian.git]
/
src
/
librarian
/
picture.py
diff --git
a/src/librarian/picture.py
b/src/librarian/picture.py
index
3897d1a
..
113cece
100644
(file)
--- a/
src/librarian/picture.py
+++ b/
src/librarian/picture.py
@@
-17,11
+17,7
@@
class WLPictureURI(WLURI):
_re_wl_uri = re.compile(
'http://wolnelektury.pl/katalog/obraz/(?P<slug>[-a-z0-9]+)/?$'
)
_re_wl_uri = re.compile(
'http://wolnelektury.pl/katalog/obraz/(?P<slug>[-a-z0-9]+)/?$'
)
-
- @classmethod
- def from_slug(cls, slug):
- uri = 'http://wolnelektury.pl/katalog/obraz/%s/' % slug
- return cls(uri)
+ template = 'http://wolnelektury.pl/katalog/obraz/%s/'
def as_wlpictureuri_strict(text):
def as_wlpictureuri_strict(text):