[pyKoL-users] SF.net SVN: pykol: [6] test.py
Brought to you by:
scelis
From: <mi...@us...> - 2007-03-31 20:12:01
|
Revision: 6 http://pykol.svn.sourceforge.net/pykol/?rev=6&view=rev Author: misza13 Date: 2007-03-31 13:12:02 -0700 (Sat, 31 Mar 2007) Log Message: ----------- Remove hardcoded file name. Modified Paths: -------------- test.py Modified: test.py =================================================================== --- test.py 2007-03-31 20:03:44 UTC (rev 5) +++ test.py 2007-03-31 20:12:02 UTC (rev 6) @@ -9,7 +9,7 @@ print 'Please specify a config file!' return config = {} - execfile('misha.conf') + execfile(sys.argv[1]) if not config.has_key('nick') or not config.has_key('password'): print 'Nick or password not specified in config!' return This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |