Skip to content

Commit

Permalink
fix incorrect variable order in file_path.replace
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-bondarenko authored May 24, 2017
1 parent b0d574d commit 830f985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Debug/DebugMedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def merge(merged_path):
return False # No coffeescript compiler, skip this file

# Replace / with os separators and escape it
file_path_escaped = helper.shellquote(file_path.replace(os.path.sep, "/"))
file_path_escaped = helper.shellquote(file_path.replace("/", os.path.sep))

if "%s" in config.coffeescript_compiler: # Replace %s with coffeescript file
command = config.coffeescript_compiler % file_path_escaped
Expand Down

0 comments on commit 830f985

Please sign in to comment.