Browse Source

prevent a traceback if we've already stopProcducing...

[git-p4: depot-paths = "//depot/": change = 896]
replace/b43bf02ddeddd088c0e6b94974ca1a46562eb3db
John-Mark Gurney 18 years ago
parent
commit
9415d81c5f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      shoutcast.py

+ 2
- 1
shoutcast.py View File

@@ -133,7 +133,8 @@ class ShoutTransfer(shoutcast.ShoutcastClient):
pass

def stopProducing(self):
shoutcast.ShoutcastClient.stopProducing(self)
if self.transport is not None:
shoutcast.ShoutcastClient.stopProducing(self)
self.request = None
self.passback = None



Loading…
Cancel
Save