Fixing typo in keep_playlist causing NameError

This commit is contained in:
Dziqs 2020-07-25 19:42:06 +02:00 committed by jaseg
parent d1f304ab92
commit 035e1db1db

2
mpv.py
View file

@ -1186,7 +1186,7 @@ class MPV(object):
def stop(self, keep_playlist=False): def stop(self, keep_playlist=False):
"""Mapped mpv stop command, see man mpv(1).""" """Mapped mpv stop command, see man mpv(1)."""
if keep_playist: if keep_playlist:
self.command('stop', 'keep-playlist') self.command('stop', 'keep-playlist')
else: else:
self.command('stop') self.command('stop')