Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Fix incorrect args to super
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Pelland authored and djc committed Oct 4, 2016
1 parent a7bd566 commit 0e866db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnpy/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class NNError(Exception):
def __init__(self, error_no, *args, **kwargs):
super().__init__(*args, **kwargs)
super(NNError, self).__init__(*args, **kwargs)
self.error_no = error_no

def convert(rc, value=None):
Expand Down

0 comments on commit 0e866db

Please sign in to comment.