mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Use six.moves.urllib
This commit is contained in:
parent
ac63d3c3ce
commit
3b8234ce67
2 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ DOCUMENTATION :: END
|
||||||
% if session is not None:
|
% if session is not None:
|
||||||
<%
|
<%
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from urllib import quote
|
from six.moves.urllib.parse import quote
|
||||||
from plexpy import helpers
|
from plexpy import helpers
|
||||||
from plexpy.common import VIDEO_RESOLUTION_OVERRIDES, AUDIO_CODEC_OVERRIDES, EXTRA_TYPES
|
from plexpy.common import VIDEO_RESOLUTION_OVERRIDES, AUDIO_CODEC_OVERRIDES, EXTRA_TYPES
|
||||||
import plexpy
|
import plexpy
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<%
|
<%
|
||||||
import urllib
|
from six.moves.urllib.parse import urlencode
|
||||||
%>
|
%>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var frame = $('<iframe></iframe>', {
|
var frame = $('<iframe></iframe>', {
|
||||||
src: 'real_newsletter?${urllib.urlencode(kwargs) | n}',
|
src: 'real_newsletter?${urlencode(kwargs) | n}',
|
||||||
frameborder: '0',
|
frameborder: '0',
|
||||||
style: 'display: none; height: 100vh; width: 100vw;'
|
style: 'display: none; height: 100vh; width: 100vw;'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue