summaryrefslogtreecommitdiff
path: root/tools/scan-view/share/startfile.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-04-16 16:02:28 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-04-16 16:02:28 +0000
commit7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch)
treec72b9241553fc9966179aba84f90f17bfa9235c3 /tools/scan-view/share/startfile.py
parentb52119637f743680a99710ce5fdb6646da2772af (diff)
Diffstat (limited to 'tools/scan-view/share/startfile.py')
-rw-r--r--tools/scan-view/share/startfile.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/scan-view/share/startfile.py b/tools/scan-view/share/startfile.py
index e8fbe2d5a84ee..673935909f823 100644
--- a/tools/scan-view/share/startfile.py
+++ b/tools/scan-view/share/startfile.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
"""Utility for opening a file using the default application in a cross-platform
manner. Modified from http://code.activestate.com/recipes/511443/.
"""