diff --git a/hsds/util/fileClient.py b/hsds/util/fileClient.py index 5ff14c45..b803162d 100644 --- a/hsds/util/fileClient.py +++ b/hsds/util/fileClient.py @@ -190,7 +190,7 @@ async def put_object(self, key, data, bucket=None): raise HTTPNotFound() start_time = time.time() - filepath = self._getFilePath(bucket, key) + filepath = pp.normpath(self._getFilePath(bucket, key)) log.debug(f"fileClient.put_object({bucket}/{key} start: {start_time}") loop = asyncio.get_event_loop() try: