1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-12-12 11:18:05 +00:00

Possible fix for #2350 and #2351 (databse locked)

Fix for #2309 (long unicode filenames could get to long)
This commit is contained in:
Ozzie Isaacs
2022-03-29 18:28:53 +02:00
parent 7861f8a89a
commit 834edadc28
3 changed files with 57 additions and 21 deletions

10
cps.py
View File

@@ -16,11 +16,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
try:
from gevent import monkey
monkey.patch_all()
except ImportError:
pass
#try:
#from gevent import monkey
#monkey.patch_all()
#except ImportError:
# pass
import sys
import os