aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/theme.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/gmg_commands/theme.py')
-rw-r--r--mediagoblin/gmg_commands/theme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/theme.py b/mediagoblin/gmg_commands/theme.py
index fd914a96..71abb982 100644
--- a/mediagoblin/gmg_commands/theme.py
+++ b/mediagoblin/gmg_commands/theme.py
@@ -50,7 +50,7 @@ def link_assets(theme, link_dir, printer=simple_printer):
which should be printable.
"""
link_dir = link_dir.rstrip(os.path.sep)
- link_parent_dir = os.path.split(link_dir)[0]
+ link_parent_dir = os.path.dirname(link_dir)
results = []