Skip to content

Commit

Permalink
bug in json for rpc error
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Jan 16, 2024
1 parent 913e38c commit 946d2d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/rpc/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ def result_json(self):
return json.dumps(self.result)

def error_json(self):
if self.error is None:
return _("OK")
return json.dumps(self.error)

def status(self):
Expand Down

0 comments on commit 946d2d8

Please sign in to comment.