~isoschiz/jibberjabber/jibjab-logs

« back to all changes in this revision

Viewing changes to main.py

  • Committer: Martin Morrison
  • Date: 2010-08-09 13:37:39 UTC
  • Revision ID: martinm@ensoft.co.uk-20100809133739-i2qiti0le24h46r3
Start adding support for multiple running instances (though doesn't currently work). Fixes a few bugs too, and sanitises some of the code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#
23
23
 
24
24
import jibjab
 
25
from ConfigParser import ConfigParser
25
26
 
26
27
if __name__ == "__main__":
27
 
    jj = jibjab.JibJab()
 
28
    cp = ConfigParser()
 
29
    cp.read('jibjab.cfg')
 
30
    jj = jibjab.JibJab(cp)
28
31
    jj.run()