summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2017-08-06 22:28:01 +0200
committerjaseg <code@jaseg.net>2017-08-06 22:28:01 +0200
commit13191bfeb912499d50cd87342527c458a3a58dd1 (patch)
treeb66f707ada2f680848d7abec2ba2640d6ea7e0b5
parent2eeddcda056865bcbbf966c649a1476b33b6e916 (diff)
downloadpython-mpv-13191bfeb912499d50cd87342527c458a3a58dd1.tar.gz
python-mpv-13191bfeb912499d50cd87342527c458a3a58dd1.tar.bz2
python-mpv-13191bfeb912499d50cd87342527c458a3a58dd1.zip
mpv, mpv-test: Fix vim mode lines
-rwxr-xr-xmpv-test.py2
-rw-r--r--mpv.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/mpv-test.py b/mpv-test.py
index 1299708..7cdec89 100755
--- a/mpv-test.py
+++ b/mpv-test.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+# vim: ts=4 sw=4 et
import unittest
from unittest import mock
diff --git a/mpv.py b/mpv.py
index 29cb70a..5f92d3d 100644
--- a/mpv.py
+++ b/mpv.py
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# vim: ts=4 sw=4 et
#
# Python MPV library module
# Copyright (C) 2017 Sebastian Götte <code@jaseg.net>
@@ -28,8 +29,6 @@ import collections
import re
import traceback
-# vim: ts=4 sw=4 et
-
if os.name == 'nt':
backend = CDLL('mpv-1.dll')
fs_enc = 'utf-8'