Skip to content

Commit a6ef3c3

Browse files
author
Neko (Is Lewd)
authored
Update exceptions.py
1 parent a0acb75 commit a6ef3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypresence/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class PyPresenceException(Exception):
22
def __init__(self, message=None):
3-
message = 'An error has occured within PyPresence' if message is None
3+
if message is None: message = 'An error has occured within PyPresence'
44
super().__init__(message)
55

66
class InvalidID(PyPresenceException):

0 commit comments

Comments
 (0)