Changeset 238 for indytube/trunk
- Timestamp:
- 10/14/07 22:30:06 (15 months ago)
- Files:
-
- 1 modified
-
indytube/trunk/indytube.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indytube/trunk/indytube.py
r230 r238 15 15 #twisted networking 16 16 from twisted.internet import reactor 17 18 CONF_FILE_DEFAULT = '/etc/indytube/indytube.conf' 17 19 18 20 class IndyTubeTranscoder(object): … … 225 227 indytuber = IndyTubeTranscoder() 226 228 #parse our config 227 indytuber.parse_config('indytube.conf') 229 if not (os.path.exists(CONF_FILE_DEFAULT)): 230 logging.error("cannot find configuration file %s " % (CONF_FILE_DEFAULT)) 231 #leave 232 sys.exit(0) 233 234 #ok, parse the file 235 indytuber.parse_config(CONF_FILE_DEFAULT) 228 236 229 237 #we have started!
