Skip to content

Commit

Permalink
Cleanup example (unneeded import and lint warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdwetering committed Oct 13, 2024
1 parent 43537d7 commit 118f0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
""" Example of basic YncaApi usage"""

import argparse
import sys
import time
import logging

Expand Down Expand Up @@ -72,7 +71,8 @@ def updated_main(function, value):
main.vol_up(2)
main.mute = Mute.OFF
main.mute = Mute.ON
main.vol = current_volume
if current_volume:
main.vol = current_volume

print(
"Wait a bit to see updates coming in as it takes the receiver a while to get it all processed."
Expand Down

0 comments on commit 118f0ca

Please sign in to comment.