diff --git a/LaunchScript/VirtualAcousticsStarterServer.py b/LaunchScript/VirtualAcousticsStarterServer.py index e47dc3a90b825d4ae633a1ad9cc6b24c3ec71e7e..155ad3451d9f7c2ba4d6c135d76d1ebc9985fe83 100644 --- a/LaunchScript/VirtualAcousticsStarterServer.py +++ b/LaunchScript/VirtualAcousticsStarterServer.py @@ -411,10 +411,10 @@ class VirtualAcousticsLauncher: # it has the content file:[RelativePathToFile]:[FileLengthInBytes]:[ModificationTimeInSecondsSinceEPOCH] def receive_file(self, sMessage): aMessageParts = sMessage.split(":") - iBytesToReceive = int(aMessageParts[2]) - iLastModificationTime = int(aMessageParts[3]) Path, Filename = os.path.split(aMessageParts[1]) + iBytesToReceive = int(aMessageParts[2]) ProjectName = aMessageParts[3] + iLastModificationTime = int(aMessageParts[4]) Fullpath = os.path.join(self.sCurrentScriptsDirectory, "..", "tmp", ProjectName, Path, "") print("Should receive file: "+Filename+" in path "+Fullpath+ " with "+str(iBytesToReceive)+" bytes")