Skip to content

Commit 9e78556

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ba37097 commit 9e78556

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_server/services/contents/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ async def _append(self, to_append_model, path):
251251
self.log.info(f"Appending file chunk {chunk} at path: {path}")
252252
existing_model = self.contents_manager.get(path)
253253
# TODO: Test binary files encoding works properly:
254-
assert existing_model['format'] == to_append_model['format']
255-
existing_model['content'] = existing_model['content'] + to_append_model['content']
254+
assert existing_model["format"] == to_append_model["format"]
255+
existing_model["content"] = existing_model["content"] + to_append_model["content"]
256256
model = await ensure_async(self.contents_manager.save(existing_model, path))
257257
validate_model(model)
258258
self._finish_model(model)

0 commit comments

Comments
 (0)