Skip to content

Commit

Permalink
Remove sent payload outside if statements (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
thanomichalis authored May 13, 2023
1 parent 34811df commit 9a09dd3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ultrasync/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,6 @@ def set_zone_bypass(self, zone, state=False):
'Bypass not implemented for vendor {}'.format(self.vendor))
return False

# Send our response
response = self.__get(
'/user/zonefunction.cgi', payload=payload)

if not response:
logger.info(
Expand Down

0 comments on commit 9a09dd3

Please sign in to comment.