Fix log domain names

ocrmypdf.subprocess.subprocess.ghostscript -> ocrmypdf.subprocess.ghostscript
This commit is contained in:
James R. Barlow
2020-11-03 01:44:35 -08:00
parent 36e9a54f02
commit dd8a5a4c72
+1 -1
View File
@@ -51,7 +51,7 @@ def run(args, *, env=None, logs_errors_to_stdout=False, **kwargs):
args = _fix_windows_args(program, args, env)
log.debug("Running: %s", args)
process_log = log.getChild('subprocess.' + os.path.basename(program))
process_log = log.getChild(os.path.basename(program))
if sys.version_info < (3, 7) and os.name == 'nt':
# Can't use close_fds=True on Windows with Python 3.6 or older
# https://bugs.python.org/issue19575, etc.