1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-11-02 16:23:04 +00:00

Fixes for book edit with title sort and author sort

This commit is contained in:
Ozzie Isaacs
2021-04-03 14:21:38 +02:00
parent 91b9370a21
commit 665210e506
7 changed files with 88 additions and 68 deletions

View File

@@ -498,6 +498,7 @@ def generate_random_password():
def uniq(inpt):
output = []
inpt = [ " ".join(inp.split()) for inp in inpt]
for x in inpt:
if x not in output:
output.append(x)