summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpv.py b/mpv.py
index cdd6655..29cb70a 100644
--- a/mpv.py
+++ b/mpv.py
@@ -1029,7 +1029,7 @@ class MPV(object):
def __setattr__(self, name, value):
try:
- if name != 'handle':
+ if name != 'handle' and not name.startswith('_'):
self._set_property(_py_to_mpv(name), value)
else:
super().__setattr__(name, value)