Skip to content

Commit

Permalink
added topic to run method
Browse files Browse the repository at this point in the history
  • Loading branch information
hahahannes committed Mar 18, 2024
1 parent 2fc9439 commit b4bdab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def init(self, *args, **kwargs):
with open(self.window_closing_times_path, "rb") as f:
self.window_closing_times = pickle.load(f)

def run(self, data, selector = None):
def run(self, data, selector = None, topic=None):
try:
current_timestamp = utils.todatetime(data['Humidity_Time']).tz_convert(tz='UTC')
except TypeError:
Expand Down

0 comments on commit b4bdab3

Please sign in to comment.