Skip to content

Commit

Permalink
Reset list rather than remove entries
Browse files Browse the repository at this point in the history
  • Loading branch information
w9cf committed Sep 24, 2022
1 parent a862d1f commit e2ed025
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/contest.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ def start(self):
self.stream.start()

def stop(self):
for s in self.stations:
self.stations.remove(s)
self.stations = []
self.stream.stop()
self.stream.close()

Expand Down

0 comments on commit e2ed025

Please sign in to comment.