Commit e0b2cfad by sikang

bug fix

parent 8e861467
...@@ -189,6 +189,6 @@ class JavaGarble: ...@@ -189,6 +189,6 @@ class JavaGarble:
for main_dir in config['lib_main']: for main_dir in config['lib_main']:
for root, dirs, files in os.walk("%s/%s" % (config["root"], main_dir)): for root, dirs, files in os.walk("%s/%s" % (config["root"], main_dir)):
for file in files: for file in files:
if file.endswith(".java"): if file.endswith(".java") and file not in config['ignore_files']:
self.__garble_java_file(os.path.join(root, file)) self.__garble_java_file(os.path.join(root, file))
print("done") print("done")
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