File: radiotray

package info (click to toggle)
radiotray 0.7.3-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 872 kB
  • ctags: 464
  • sloc: python: 2,946; xml: 83; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download | duplicates (3)
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)
	import radiotray 
	
radiotray.main(sys.argv[1:])