Beispiel #1
0
    def process(self):
        self.cl.upload_ready = False
        #may load session or upload map here.
        #check if input is messed up.
        if not self.cl.is_valid():
            return

        ctrl_obj = API.runControllerByClient(self.cl)
        if ctrl_obj is None:
            # Go To E404 Logic
            self.logger.info("OBJ is NONE")
            return
        else:
            self.cl.session = ctrl_obj.session
            self.identify_file_type(ctrl_obj.process_map, ctrl_obj.extraheader)