Commit 216b5633 authored by fred's avatar fred

adapt python2 syntax in publish to icecast command

parent 8aec961b
......@@ -43,5 +43,5 @@ class Command(BaseCommand):
r = requests.get(stream_url + '&song=' + urllib.quote(onair_msg), timeout=5)
except Exception, e:
except Exception as e:
print('failed to update', e)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment