grpc: fixed issue for start session not attempting to create directory when using definition

This commit is contained in:
Blake Harnden 2021-07-14 16:39:18 -07:00
parent 1347839200
commit aa5bb08a16

View file

@ -232,7 +232,7 @@ class CoreGrpcServer(core_pb2_grpc.CoreApiServicer):
state = EventTypes.DEFINITION_STATE
else:
state = EventTypes.CONFIGURATION_STATE
session.directory.mkdir(exist_ok=True)
session.directory.mkdir(exist_ok=True)
session.set_state(state)
session.user = request.session.user