Skip to content

Commit

Permalink
fix return
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Jul 27, 2023
1 parent 67c92b3 commit 01ac5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/teamster/core/powerschool/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ def _sensor(
# )

cursor[asset_key_string] = now.timestamp()
context.update_cursor(json.dumps(obj=cursor))

finally:
context.log.debug("Stopping SSH tunnel")
ssh_tunnel.stop()

yield SensorResult(cursor=json.dumps(obj=cursor))

return _sensor

0 comments on commit 01ac5f2

Please sign in to comment.