def run(self, job):
        ip = job[0]
        port = job[1]
        screen = str(5900 - int(port))
        try:
            security_protos = job[3][1:]
        except IndexError:
            # don't do anything if we don't have the info we want for now
            return
        # can we authenticate with no password?
        if '\x01' in security_protos:
            # then let's try taking a picture
            command = ['timeout', '10',  # make sure it doesn't hang
                       'vncsnapshot',
                       '-passwd', '/dev/null',  # fail if passwd reqested
                       '-quality', '70',
                       '-vncQuality', '7',
                       ':'.join([ip, screen]),
                       '-',  # output screenshot jpeg to stdout
                       ]
            proc = subprocess.Popen(command,
                                    stdout=subprocess.PIPE)
            stdout, stderr = proc.communicate()
            # desktop_name = re.match('Desktop name "(.*)"\n', stderr)
            # if desktop_name:
            #     name = desktop_name.groups()[0]
            # else:
            #     name = ''
            if stdout:
                # store our result in the cloud
                container = ip.split('.')[0]
                file_name = ip + '_' + port + '.jpg'
                pyrax.cloudfiles.store_object(container,
                                              file_name,
                                              stdout,
                                              content_type="image/jpeg")
                connection = tasa.store.connection
                connection.hset('container_' + container, file_name, stderr)
dataset/ETHPy150Open PaulMcMillan/toorcon_2013/configurator/looksee/looksee.py/ScreenshotWorker.run/swapped operands of `-`