Skip to content

Commit

Permalink
workaround #5864
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdraves committed Aug 20, 2017
1 parent 3cb889e commit 6e69334
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion beakerx/beakerx/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ def _install_kernels():
for kernel in _all_kernels():
kernel_classpath = _classpath_for(kernel)
classpath = os.pathsep.join([base_classpath, kernel_classpath])
# TODO: replace with string.Template, though this requires the
# workaround #5864
if sys.platform == 'win32':
classpath = classpath.replace('\\', '/')
# #5859: replace with string.Template, though this requires the
# developer install to change too, so not doing right now.
template = pkg_resources.resource_string(
'beakerx', os.path.join('static', 'kernel', kernel, 'kernel.json'))
Expand Down

0 comments on commit 6e69334

Please sign in to comment.