Change to Python3 coding style

This commit is contained in:
shortcutme 2019-03-15 21:06:59 +01:00
parent fc0fe0557b
commit b0b9a4d33c
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
137 changed files with 910 additions and 913 deletions

View file

@ -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}">

View file

@ -1 +1 @@
import MultiuserPlugin
from . import MultiuserPlugin