Skip to content

Commit

Permalink
Well that was avoidable.
Browse files Browse the repository at this point in the history
  • Loading branch information
lamby committed Mar 7, 2014
1 parent 8593e34 commit 078bcbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_lightweight_queue/job.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def __repr__(self):
return "<Job: %s(*%r, **%r)>" % (self.path, self.args, self.kwargs) return "<Job: %s(*%r, **%r)>" % (self.path, self.args, self.kwargs)


@classmethod @classmethod
def from_json(cls, json): def from_json(cls, val):
return cls(**json.loads(json)) return cls(**json.loads(val))


def run(self): def run(self):
start = time.time() start = time.time()
Expand Down

0 comments on commit 078bcbf

Please sign in to comment.