fixed session.add_hook to not require a source, since it was not typically used an None was being passed, cleaned up some bad type hinting in related to session.py
This commit is contained in:
parent
4b6ba90331
commit
bcd9e4ceb1
8 changed files with 26 additions and 22 deletions
|
@ -1501,7 +1501,7 @@ class CoreHandler(socketserver.BaseRequestHandler):
|
|||
return ()
|
||||
state = int(state)
|
||||
state = EventTypes(state)
|
||||
self.session.add_hook(state, file_name, source_name, data)
|
||||
self.session.add_hook(state, file_name, data, source_name)
|
||||
return ()
|
||||
|
||||
# writing a file to the host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue