Update queue.py

changed self.enqueue_next(job) to q.enqueue_next(job) since the method is static there is no "self".