Skip to content

Commit 13f5a86

Browse files
mfisher87martinRenou
authored andcommitted
Another adaptation for jupyter-collaboration 4.x
I don't know why I'm making this change, I just cribbed it from here: <jupyterlab/jupyter-chat@2b688d7#diff-8fc8f31371b7227cd359debf0e0c3a1c7da5718d36d541185c4f9e029be9ef3b>
1 parent 9971ecd commit 13f5a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/jupytergis_qgis/src/plugins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ const activate = async (
262262

263263
// Check if the file exists
264264
let fileExist = true;
265-
await drive.get(absolutePath, { content: false }).catch(() => {
265+
await app.serviceManager.contents.get(absolutePath, { content: false }).catch(() => {
266266
fileExist = false;
267267
});
268268
if (fileExist) {

0 commit comments

Comments
 (0)