[~] Refactor

This commit is contained in:
Siarhei Siniak 2023-03-05 13:53:27 +03:00
parent 1f5992129a
commit e4fbd6ece3

@ -2009,8 +2009,6 @@ def media_keys(argv):
msg = None msg = None
logging.info('media_keys, command = %s' % options.command)
mode = None mode = None
is_mocp = lambda : \ is_mocp = lambda : \
subprocess.call([ subprocess.call([
@ -2087,6 +2085,17 @@ def media_keys(argv):
else: else:
raise NotImplementedError raise NotImplementedError
logging.info(
json.dumps(
dict(
command=options.command,
msg=msg,
mode=mode,
),
ensure_ascii=False
)
)
return dict( return dict(
msg=msg, msg=msg,
) )