File: radiotray

package info (click to toggle)
radiotray 0.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 836 kB
  • sloc: python: 2,804; xml: 16; makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python

import sys,os
from os.path import dirname, join, pardir

try:
	from radiotray import radiotray
except ImportError:
	basedir = os.path.dirname(os.path.realpath(__file__))
	workdir = join(basedir,'src')
	sys.path.insert(0, workdir)
	os.chdir(workdir)
	from radiotray import radiotray 
	
radiotray.main(sys.argv[1:])