Skip to content

Commit f80b252

Browse files
committed
Binder repo branch part can have slashes
1 parent d72bc2a commit f80b252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage_docbuild/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
binder_repo = "sagemath/sage-binder-env/master"
6666
else:
6767
binder_repo = SAGE_JUPYTER_SERVER[7:]
68-
s = binder_repo.split('/')
68+
s = binder_repo.split('/', 2)
6969
if len(s) > 2:
7070
binder_options = {
7171
'repo': s[0] + '/' + s[1],

0 commit comments

Comments
 (0)