refactor: cleanup

This commit is contained in:
Swann 2020-02-03 23:18:53 +01:00
parent 6a667b0745
commit 3b459d5387
No known key found for this signature in database
GPG Key ID: B880407E0F5F413E
2 changed files with 4 additions and 15 deletions

View File

@ -1 +0,0 @@
{"area": null, "blend_data":

View File

@ -80,10 +80,10 @@ class SessionStartOperator(bpy.types.Operator):
timer=type_local_config.bl_delay_refresh,
automatic=type_local_config.auto_push)
# if type_local_config.bl_delay_apply > 0:
# delayables.append(delayable.ApplyTimer(
# timout=type_local_config.bl_delay_apply,
# target_type=type_module_class))
if type_local_config.bl_delay_apply > 0:
delayables.append(delayable.ApplyTimer(
timout=type_local_config.bl_delay_apply,
target_type=type_module_class))
client = Session(factory=bpy_factory)
@ -103,16 +103,6 @@ class SessionStartOperator(bpy.types.Operator):
server_process.kill()
except TimeoutExpired:
pass
# try:
# client.host(
# id=settings.username,
# address=settings.ip,
# port=settings.port,
# right_strategy=settings.right_strategy
# )
# except Exception as e:
# self.report({'ERROR'}, repr(e))
# logger.error(f"Error: {e}")
client.connect(
id=settings.username,