8000 make it possible to update subpages in wikis · python-gitlab/python-gitlab@e4e0c73 · GitHub
[go: up one dir, main page]

Skip to content

Commit e4e0c73

Browse files
authored
make it possible to update subpages in wikis
Workaround for #1079
1 parent 9d66cb3 commit e4e0c73
8000

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/mixins.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ def save(self, **kwargs):
382382

383383
# call the manager
384384
obj_id = self.get_id()
385+
obj_id = obj_id.replace('/', '%2F')
385386
server_data = self.manager.update(obj_id, updated_data, **kwargs)
386387
if server_data is not None:
387388
self._update_attrs(server_data)

0 commit comments

Comments
 (0)
0