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:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user