Skip to content

Commit

Permalink
Silence user-defined path warning (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala authored Jan 24, 2024
1 parent 45f8644 commit add4033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hsds/util/fileClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit add4033

Please sign in to comment.