Skip to content
Snippets Groups Projects
Commit 419c548f authored by vr-group's avatar vr-group
Browse files

minor refactor

parent 5b5811bf
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment