~lifeeth/sahana-eden/mobile

« back to all changes in this revision

Viewing changes to python/SMSDaemon.py

  • Committer: Praneeth Bodduluri
  • Date: 2009-08-16 22:13:59 UTC
  • Revision ID: lifeeth@gmail.com-20090816221359-ww5gek39zltqc3sj
minor tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
sahanapydatabase = config.get('Main', 'Database')
13
13
debug = config.getint('Main', 'Debug')
14
14
posturl = config.get('Main', 'PostURL')
 
15
branch = config.get('Main', 'Branch')
15
16
if debug:
16
17
    print sahanapydatabase
17
18
work = []
29
30
    port = config.get(Modem, 'Port')
30
31
    baudrate = config.get(Modem, 'BaudRate')
31
32
    work.append(subprocess.Popen(("python", "SerialWorker.py", port, baudrate,
32
 
        str(debug),posturl,sahanapydatabase)))
 
33
        str(debug),posturl,sahanapydatabase,branch)))
33
34
 
34
35
 
35
36
# After everything is done we sit back and wait for the some one to shut us