Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/releases/8.2' into add-agent-nam…
Browse files Browse the repository at this point in the history
…e-cache-8.2
  • Loading branch information
Andrew Rodgers committed Apr 23, 2024
2 parents f57a021 + 857d2b9 commit 5f7552d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volttron/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(self, filetowatch, callback):
_log.debug("patterns is {}".format([get_home() + '/' + filetowatch]))
self._callback = callback

def on_any_event(self, event):
def on_closed(self, event):
_log.debug("Calling callback on event {}. Calling {}".format(event, self._callback))
try:
self._callback()
Expand All @@ -147,7 +147,7 @@ def __init__(self, filetowatch, callback):
def watchfile(self):
return self._filetowatch

def on_any_event(self, event):
def on_closed(self, event):
_log.debug("Calling callback on event {}. Calling {}".format(event, self._callback))
try:
self._callback(self._filetowatch)
Expand Down

0 comments on commit 5f7552d

Please sign in to comment.