Commit 91295b92 by sikang

bug fix

parent 3bc70832
......@@ -99,7 +99,9 @@ class PackageGarble:
def __process_files(self, path):
if os.path.isfile(path):
self.__process_file_content(path, path.file_name())
dirs = path.split("/")
file_name = dirs[len(dirs)-1]
self.__process_file_content(path, file_name)
else:
for root, dirs, files in os.walk(path):
directory = os.path.join(os.getcwd(), root)
......
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