Commit fae31b9
authored
Fix filenames in Description when uploading TV "[" "]" (Audionut#603)
* Fix LT edit name
When audio track has no title it will be an empty dict "Language": {}
And raise the error TypeError: unhashable type: 'dict' when it tries to compare it with str
* Fix LT edit name
replace != {} with isinstance(audio.get('Language'), str)
* Fix filenames in Description TV
When uploading TV if filenames have '[' or ']' it will mess with the bbcode and show the file name incomplete1 parent eabc9de commit fae31b9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
| 551 | + | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| |||
0 commit comments