From edb43a74dc413f4df6ddf640ad93479d6498e04f 2013-08-28 20:59:53 From: Kyle Kelley Date: 2013-08-28 20:59:53 Subject: [PATCH] simplify join --- diff --git a/IPython/external/mathjax.py b/IPython/external/mathjax.py index 911da9c..d222b3d 100644 --- a/IPython/external/mathjax.py +++ b/IPython/external/mathjax.py @@ -240,8 +240,7 @@ def main() : dest = pargs.install_dir else: profile = pargs.profile - static = os.path.join(locate_profile(profile), 'static') - dest = os.path.join(static, 'mathjax') + dest = os.path.join(locate_profile(profile), 'static', 'mathjax') if pargs.dest : print dest