def q_jobstate(self, job):
        """
        Method to pull info for specified job

        Parameters
        ---------
        job_id: str
                uuid string corresponding to job ID
        q_obj: object
                queue object to use (returned from q_connect)

        Returns
        -------
        job_dict: dictionary
            dictionary containing job stats and meta data
        """
        logger.debug('Getting job state')
        if job:
            job_dict = {
                'Status': job.get_status(),
                'Time started': str(job.started_at),
                'Time finished': str(job.ended_at),
                'Result': job.result,
                'State': job.meta,
                }
            if 'HC State' not in job.meta:
                try:
                    logger.debug('No HC state, checking state file')
                    job_id = str(job.id)
                    job_file = Path(self.log_dir).joinpath('{}.json'.format(job_id))
                    with open(job_file, 'r') as jobfile_fh:
                        job_deets = json.loads(jobfile_fh.read().strip())
                        state_dict = {
                            'Cracked Hashes': job_deets['Cracked Hashes'],
                            'Total Hashes': job_deets['Total Hashes'],
                            'Progress': 0
                            }
                        job_dict['State']['HC State'] = state_dict
                except IOError as err:
                    logger.debug('Failed to open job file: {}'.format(err))
                except Exception as err:
                    logger.debug('Failed to open job file: {}'.format(err))
            return job_dict
        return None

        Method to pull info for specified job

        Parameters
        ---------
        job_id: str
                uuid string corresponding to job ID
        q_obj: object
                queue object to use (returned from q_connect)

        Returns
        -------
        job_dict: dictionary
            dictionary containing job stats and meta data
        
crackq/crackqueue.py