Commit 9d5d8c41 by sikang

bug fix

parent 9342dfd1
......@@ -14,7 +14,7 @@ class LayoutGarble:
result = ""
while len(result) == 0 or result in self.__used_names:
result = ''.join(random.sample(
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", random.randint(5, 12)))
"abcdefghijklmnopqrstuvwxyz", random.randint(5, 12)))
self.__used_names.append(result)
return result
......
......@@ -45,7 +45,7 @@ class ManifestGarble:
def manifest_garble(self, config):
for main_dir in config['lib_main']:
print("activity generating ...")
print("activity generating ...")
activities = self.__create_activities("%s/%s/java"%(config["root"], main_dir))
print("inster activity to manifest ...")
self.__insert_to_manifest("%s/%s/AndroidManifest.xml"% (config["root"], main_dir), activities)
......
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