Remove unused global variable in tryton plugins and rpc

This commit is contained in:
Cédric Krier
2025-04-16 09:59:53 +02:00
parent ac42d79df7
commit 27ff1ef14e
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -14,7 +14,6 @@ MODULES = []
def register():
global MODULES
paths = [
os.path.join(get_config_dir(), 'plugins'),
os.path.join(CURRENT_DIR, 'plugins'),
-1
View File
@@ -167,7 +167,6 @@ def reset_password():
def execute(*args):
global CONNECTION, _USER
if CONNECTION is None:
raise TrytonServerError('403')
try: