fixed zip issue (#1)

This commit is contained in:
Frederik Baerentsen 2022-06-07 21:59:03 +02:00
parent 4f3a51c911
commit 8c971b044d
2 changed files with 28 additions and 27 deletions

View File

@ -7,5 +7,5 @@ services:
ports:
- '5000:5000'
volumes:
- '/opt/data/Comics/ComicRack/Oni Press:/library:ro'
- '/opt/data/Comics/ComicRack:/library:ro'
- '${PWD}/:/app'

View File

@ -45,6 +45,7 @@ def import2sql():
for file in files:
f = os.path.join(root, file)
#try:
if f.endswith('.cbz'):
try:
s = zipfile.ZipFile(f)
#s = gzip.GzipFile(f)