Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
radiopanik
django-panik-nonstop
Commits
216b5633
Commit
216b5633
authored
Jun 18, 2020
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt python2 syntax in publish to icecast command
parent
8aec961b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nonstop/management/commands/publish_to_icecast.py
nonstop/management/commands/publish_to_icecast.py
+1
-1
No files found.
nonstop/management/commands/publish_to_icecast.py
View file @
216b5633
...
...
@@ -43,5 +43,5 @@ class Command(BaseCommand):
try
:
r
=
requests
.
get
(
stream_url
+
'&song='
+
urllib
.
quote
(
onair_msg
),
timeout
=
5
)
r
.
raise_for_status
()
except
Exception
,
e
:
except
Exception
as
e
:
print
(
'failed to update'
,
e
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment