summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2017-07-13 00:37:25 +0200
committerjaseg <code@jaseg.net>2017-07-13 00:37:25 +0200
commite52a9545f7e14e0eda5e78d6bb255f019cab4f87 (patch)
treefe04c31434e1a9a7ebc6e8589585765bdf47ead7 /README.rst
parentcb0cfd07c93519dd5214254db993dcbd7c817d8c (diff)
downloadpython-mpv-e52a9545f7e14e0eda5e78d6bb255f019cab4f87.tar.gz
python-mpv-e52a9545f7e14e0eda5e78d6bb255f019cab4f87.tar.bz2
python-mpv-e52a9545f7e14e0eda5e78d6bb255f019cab4f87.zip
Fix message handler registration and advanced README example
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 5e52aca..a06509a 100644
--- a/README.rst
+++ b/README.rst
@@ -78,7 +78,7 @@ Advanced Usage
def time_observer(_name, value):
# Here, _value is either None if nothing is playing or a float containing
# fractional seconds since the beginning of the file.
- print('Now playing at {:.2f}s'.format(value)))
+ print('Now playing at {:.2f}s'.format(value))
player.fullscreen = True
player.loop = 'inf'