from common.bounty import *
from common.peers import *
from common import settings

def main():
    settings.setup()
    print "settings are:"
    print settings.config
    
if __name__ == "__main__":
    main()

from common.bounty import *
from common.peers import *
from common import settings

def main():
    settings.setup()
    print "settings are:"
    print settings.config
    if settings.config.get('server') is not True:
        initializePeerConnections()
    else:
        listen()
    
if __name__ == "__main__":
    main()

Add primitive server option for easier debugging
Add primitive server option for easier debugging