fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added popup ebook and audiobook download
[wolnelektury.git]
/
src
/
catalogue
/
models
/
source.py
diff --git
a/src/catalogue/models/source.py
b/src/catalogue/models/source.py
index
08cac0c
..
77b1a67
100644
(file)
--- a/
src/catalogue/models/source.py
+++ b/
src/catalogue/models/source.py
@@
-25,7
+25,7
@@
class Source(models.Model):
str(self.pk)
old_self = type(self).objects.get(pk=self)
except type(self).DoesNotExist:
- old_name =
u
''
+ old_name = ''
old_netloc = self.netloc
else:
old_name = old_self.name