summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'