fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes
[audio.git]
/
src
/
archive
/
migrations
/
0010_populate_license.py
diff --git
a/src/archive/migrations/0010_populate_license.py
b/src/archive/migrations/0010_populate_license.py
index
dc59bdc
..
9533003
100644
(file)
--- a/
src/archive/migrations/0010_populate_license.py
+++ b/
src/archive/migrations/0010_populate_license.py
@@
-10,7
+10,7
@@
def populate_license(apps, schema_editor):
licenses = {}
for a in Audiobook.objects.all():
if a.mp3_tags:
- tags = json.loads(a.mp3_tags)
+ tags = json.loads(a.mp3_
published_
tags)
uri = tags.get('license')
if not uri:
continue