Fix format string error for exceptions

This commit is contained in:
Sven Velt 2022-01-25 15:30:27 +01:00
parent f0a969d40f
commit ba1cff4d61

View file

@ -64,7 +64,7 @@ for maybe in allowed:
try:
cmd = subprocess.Popen(cmdlinelist, stdout=subprocess.PIPE)
except Exception as exc:
print('Could not execute plugin ("%s"): %s' % cmdline)
print('Could not execute plugin: %s' % exc)
if args.verbose >= 0:
syslog.syslog('Could not execute plugin >%s<' % cmdline)
sys.exit(3)