Compare commits
2 Commits
f54414c300
...
8c971b044d
Author | SHA1 | Date | |
---|---|---|---|
|
8c971b044d | ||
|
4f3a51c911 |
@ -7,5 +7,5 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- '5000:5000'
|
- '5000:5000'
|
||||||
volumes:
|
volumes:
|
||||||
- '/opt/data/Comics/ComicRack/Oni Press:/library:ro'
|
- '/opt/data/Comics/ComicRack:/library:ro'
|
||||||
- '${PWD}/:/app'
|
- '${PWD}/:/app'
|
||||||
|
1
main.py
1
main.py
@ -45,6 +45,7 @@ def import2sql():
|
|||||||
for file in files:
|
for file in files:
|
||||||
f = os.path.join(root, file)
|
f = os.path.join(root, file)
|
||||||
#try:
|
#try:
|
||||||
|
if f.endswith('.cbz'):
|
||||||
try:
|
try:
|
||||||
s = zipfile.ZipFile(f)
|
s = zipfile.ZipFile(f)
|
||||||
#s = gzip.GzipFile(f)
|
#s = gzip.GzipFile(f)
|
||||||
|
@ -5,4 +5,3 @@ Flask-HTTPAuth==4.5.0
|
|||||||
gevent==21.8.0
|
gevent==21.8.0
|
||||||
bs4
|
bs4
|
||||||
lxml
|
lxml
|
||||||
gzip
|
|
||||||
|
Loading…
Reference in New Issue
Block a user