fix: handle file not found exception

This commit is contained in:
Swann
2020-09-21 18:52:27 +02:00
parent 0ae34d5702
commit dc063b5954
2 changed files with 8 additions and 4 deletions

View File

@ -139,11 +139,11 @@ class SessionStartOperator(bpy.types.Operator):
runtime_settings.is_host = True
runtime_settings.internet_ip = environment.get_ip()
for scene in bpy.data.scenes:
client.add(scene)
try:
for scene in bpy.data.scenes:
client.add(scene)
client.host(
id=settings.username,
port=settings.port,