Suppress some errors

This commit is contained in:
Ozzie Isaacs
2021-03-15 13:48:05 +01:00
parent 9a963bbe79
commit b75247ea3a
11 changed files with 18 additions and 18 deletions

View File

@ -22,7 +22,7 @@ import os
import errno
import signal
import socket
import subprocess
import subprocess # nosec
try:
from gevent.pywsgi import WSGIServer
@ -259,7 +259,7 @@ class WebServer(object):
log.info("Performing restart of Calibre-Web")
args = self._get_args_for_reloading()
subprocess.call(args, close_fds=True)
subprocess.call(args, close_fds=True) # nosec
return True
def _killServer(self, __, ___):