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
Expand Up @@ -16,8 +16,8 @@ def __repr__(self):
return "<Job: %s(*%r, **%r)>" % (self.path, self.args, self.kwargs)

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

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

0 comments on commit 078bcbf

Please sign in to comment.