Commit 26e075c3 by sikang

bug fix

parent f032bcbd
......@@ -127,7 +127,7 @@ class JavaGarble:
for i in range(0, random.randint(0, vars_size)):
var = self.__variables[random.randint(0, vars_size)]
content += "%s + " % var.split(" ")[2]
content = "System.out.println(len(%s+\"\"));" % content
content = "System.out.println((%s\"\").length());" % content
code = code.replace("${content}", content)
return code
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment