from client import Client
from pdb import set_trace
import sys

if len(sys.argv) > 1:
    host = sys.argv[1]
else:
    host = "http://*****:*****@ (%s,%s)-(%s,%s): %s" % (
                region['label'], 
                child['parent_subject_id'],
                region['x'], region['y'], 
                region['x'] + region['width'], region['x'] + region['height'], 
                value
            )
Пример #2
0
from client import Client
from pdb import set_trace
import sys

if len(sys.argv) > 1:
    host = sys.argv[1]
else:
    host = "http://*****:*****@ %s (%s,%s)-(%s,%s)" % (
                region['label'], 
                subject['id'],
                region['x'], region['y'], 
                region['x'] + region['width'], region['x'] + region['height'], 
            )