1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-19 01:27:40 +00:00

Fix for python 3 and existing unrar entry in db

deleted unnecessary lines in config html template
This commit is contained in:
Ozzieisaacs
2019-07-21 12:58:48 +02:00
parent 38f3c2d5b9
commit 5c6be5d6d0
2 changed files with 1 additions and 14 deletions

View File

@@ -555,6 +555,7 @@ def check_unrar(unrarLocation):
try:
if sys.version_info < (3, 0):
unrarLocation = unrarLocation.encode(sys.getfilesystemencoding())
unrarLocation = [unrarLocation]
for lines in process_wait(unrarLocation):
value = re.search('UNRAR (.*) freeware', lines)
if value: