mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +00:00
Added message attribute to Save exception
This commit is contained in:
parent
3f73419f79
commit
165d134b6d
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ class Right(Exception):
|
|||
|
||||
|
||||
class Save(Exception):
|
||||
def __init__(self, user=None):
|
||||
def __init__(self, user=None, message=None):
|
||||
self.user = user
|
||||
|
||||
self.message = message
|
||||
|
||||
class GoTo(Exception):
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue