formatting and debug statement tweak

This commit is contained in:
Damien Elmes 2020-07-24 11:57:37 +10:00
parent 26426cb11e
commit 2cba721702
3 changed files with 3 additions and 6 deletions

View File

@ -162,10 +162,7 @@ def allroutes(pathin):
# swallow it - user likely surfed away from
# review screen before an image had finished
# downloading
return flask.make_response(
str(error),
HTTPStatus.INTERNAL_SERVER_ERROR,
)
return flask.make_response(str(error), HTTPStatus.INTERNAL_SERVER_ERROR,)
def _redirectWebExports(path):

View File

@ -342,7 +342,7 @@ class MpvManager(MPV, SoundOrVideoPlayer):
self.command("keybind", "ctrl+w", "stop")
self.command("keybind", "ctrl+c", "stop")
except MPVCommandError:
print("mpv too old")
print("mpv too old for key rebinding")
def play(self, tag: AVTag, on_done: OnDoneCallback) -> None:
assert isinstance(tag, SoundOrVideoTag)