Skip to content

Commit

Permalink
[python] use waneck escaping instead of base64 here too
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Mar 2, 2015
1 parent 7f53420 commit d5ff51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genpy.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2137,7 +2137,7 @@ module Generator = struct
end else
","
in
let k_enc = Base64.str_encode k in
let k_enc = Codegen.escape_res_name k false in
let slash_index = try (String.rindex ctx.com.file '/')+1 with Not_found -> 0 in
let len = String.length ctx.com.file - slash_index in
let file_name = String.sub ctx.com.file slash_index len in
Expand Down

0 comments on commit d5ff51a

Please sign in to comment.