Change to Python3 coding style
This commit is contained in:
parent
fc0fe0557b
commit
b0b9a4d33c
137 changed files with 910 additions and 913 deletions
|
@ -1,5 +1,5 @@
|
|||
import re
|
||||
import cgi
|
||||
import html
|
||||
import copy
|
||||
|
||||
from Plugin import PluginManager
|
||||
|
@ -78,8 +78,8 @@ class UiWebsocketPlugin(object):
|
|||
|
||||
self.cmd(
|
||||
"confirm",
|
||||
[_["This site requests <b>read</b> permission to: <b>%s</b>"] % cgi.escape(site_name), button_title],
|
||||
lambda (res): self.cbCorsPermission(to, address)
|
||||
[_["This site requests <b>read</b> permission to: <b>%s</b>"] % html.escape(site_name), button_title],
|
||||
lambda res: self.cbCorsPermission(to, address)
|
||||
)
|
||||
|
||||
def cbCorsPermission(self, to, address):
|
||||
|
|
|
@ -1 +1 @@
|
|||
import CorsPlugin
|
||||
from . import CorsPlugin
|
Loading…
Add table
Add a link
Reference in a new issue