def start_terminal_worker(name):
    container_key, container_ip, subdomain = start_snap(name, snapshot_id, args.size, script)
    terms.append({'container_key':container_key, 'container_ip':container_ip, 'subdomain':subdomain, 'name':name})
    time.sleep(2)
    terminal.add_authorized_key_to_terminal(container_key,publicKey)
    if args.method == 'ssh' and args.script is not None:
        print 'Sending Script'
        send_script(container_ip, 'root', key_name, args.script)
        print 'Running Script'
        run_on_terminal(container_ip, 'root', key_name, os.path.basename(args.script) % '/bin/bash /root/%s')
dataset/ETHPy150Open terminalcloud/terminal-tools/script-terminals.py/start_terminal_worker/swapped operands of `%`