Changeset 269 for trunk


Ignore:
Timestamp:
02/07/11 14:00:54 (11 years ago)
Author:
sc
Message:

synapse/synapse-client.py:

  • updated to respect command line parameters

synapse/synapse-render_video.py:

  • removed from brainstorms repository
Location:
trunk/synapse
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/synapse/synapse-client.py

    r163 r269  
    2626command_parameters = sys.argv[1:] 
    2727 
     28server_host = tgConf.THINKGEAR_SERVER_HOST 
     29server_port = tgConf.THINKGEAR_SERVER_PORT 
     30 
     31for each in sys.argv: 
     32        if each.startswith("--host="): 
     33                server_host = each[ len("--host="): ] 
     34        if each.startswith("--port="): 
     35                server_port = each[ len("--port="): ] 
     36 
    2837app = QtCore.QCoreApplication(sys.argv) 
    29 client = tgClient.CLIClient(log, command_parameters, server_host=tgConf.THINKGEAR_SERVER_HOST, server_port=tgConf.THINKGEAR_SERVER_PORT, DEBUG=DEBUG) 
     38client = tgClient.CLIClient(log, command_parameters, server_host, server_port, DEBUG=DEBUG) 
    3039sys.exit(app.exec_()) 
Note: See TracChangeset for help on using the changeset viewer.