mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
init(). testing for a native bot using python-xmpp
This commit is contained in:
16
local_config.py.skel
Normal file
16
local_config.py.skel
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
if '__main__' == __name__:
|
||||
print '''don't try running this'''
|
||||
exit(-1)
|
||||
|
||||
config = {}
|
||||
config['jid'] = ''
|
||||
config['password'] = ''
|
||||
config['room'] = ''
|
||||
config['nick'] = ''
|
||||
|
||||
def conf(val):
|
||||
if val in config.keys():
|
||||
return config[val]
|
||||
return None
|
||||
Reference in New Issue
Block a user