1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-15 23:57:39 +00:00

Fix for errors editing/uploading books with duplicate tags/authors/language names

Additional parsing of epubs for cover files
Fix for change of database with linked read_column and read column isn't present any more
This commit is contained in:
Ozzieisaacs
2020-06-22 19:11:03 +02:00
parent d0a3503d74
commit 329a7a03a5
4 changed files with 28 additions and 9 deletions

View File

@@ -468,6 +468,14 @@ def generate_random_password():
passlen = 8
return "".join(s[c % len(s)] for c in os.urandom(passlen))
def uniq(input):
output = []
for x in input:
if x not in output:
output.append(x)
return output
################################## External interface