Skip to content

Commit

Permalink
Update exceptions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSpookyCat committed Aug 10, 2018
1 parent a0acb75 commit a6ef3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypresence/exceptions.py
@@ -1,6 +1,6 @@
class PyPresenceException(Exception):
def __init__(self, message=None):
message = 'An error has occured within PyPresence' if message is None
if message is None: message = 'An error has occured within PyPresence'
super().__init__(message)

class InvalidID(PyPresenceException):
Expand Down

0 comments on commit a6ef3c3

Please sign in to comment.