fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove gallery stuff.
[wolnelektury.git]
/
src
/
catalogue
/
models
/
book.py
diff --git
a/src/catalogue/models/book.py
b/src/catalogue/models/book.py
index
86010df
..
ac8c02b
100644
(file)
--- a/
src/catalogue/models/book.py
+++ b/
src/catalogue/models/book.py
@@
-414,7
+414,7
@@
class Book(models.Model):
has_daisy_file.boolean = True
def has_sync_file(self):
- return self.has_media("sync")
+ return se
ttings.FEATURE_SYNCHRO and se
lf.has_media("sync")
def get_sync(self):
with self.get_media('sync').first().file.open('r') as f: