From 4eeeee754a4234a145e95c851b4ad00557b94cdc Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Wed, 9 Apr 2014 00:45:48 +0100 Subject: [PATCH] testing --- scripts/tv_grab_pyepg | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) mode change 120000 => 100755 scripts/tv_grab_pyepg diff --git a/scripts/tv_grab_pyepg b/scripts/tv_grab_pyepg deleted file mode 120000 index fb4b5e6..0000000 --- a/scripts/tv_grab_pyepg +++ /dev/null @@ -1 +0,0 @@ -pyepg \ No newline at end of file diff --git a/scripts/tv_grab_pyepg b/scripts/tv_grab_pyepg new file mode 100755 index 0000000..4327e2e --- /dev/null +++ b/scripts/tv_grab_pyepg @@ -0,0 +1,39 @@ +#!/usr/bin/env python +# +# pyepg - Front end script for pyepg +# +# Copyright (C) 2012 Adam Sutton +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +""" +""" + +# ########################################################################### +# Pass to module +# ########################################################################### + +# System +import os, sys + +# Local +lib_path = os.path.join(os.path.dirname(sys.argv[0]), '..', 'lib') +sys.path.insert(0, os.path.abspath(lib_path)) +import pyepg.main as pyepg +pyepg.main() + +# ############################################################################ +# Editor Configuration +# +# vim:sts=2:ts=2:sw=2:et +# ############################################################################