Change to Python3 coding style
This commit is contained in:
parent
fc0fe0557b
commit
b0b9a4d33c
137 changed files with 910 additions and 913 deletions
|
@ -5,11 +5,11 @@ import json
|
|||
from Config import config
|
||||
from Plugin import PluginManager
|
||||
from Crypt import CryptBitcoin
|
||||
import UserPlugin
|
||||
from . import UserPlugin
|
||||
|
||||
try:
|
||||
local_master_addresses = set(json.load(open("%s/users.json" % config.data_dir)).keys()) # Users in users.json
|
||||
except Exception, err:
|
||||
except Exception as err:
|
||||
local_master_addresses = set()
|
||||
|
||||
|
||||
|
@ -59,7 +59,7 @@ class UiRequestPlugin(object):
|
|||
return False
|
||||
|
||||
elif loggedin:
|
||||
back = back_generator.next()
|
||||
back = next(back_generator)
|
||||
inject_html = """
|
||||
<!-- Multiser plugin -->
|
||||
<script nonce="{script_nonce}">
|
||||
|
|
|
@ -1 +1 @@
|
|||
import MultiuserPlugin
|
||||
from . import MultiuserPlugin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue