Correction

os.path.join()
master
Lertsenem 2015-12-07 18:24:29 +01:00
parent e32b5bd336
commit f040199892
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ def run(args, persoconf, logger):
# Print the files too if asked so
if args.show_files:
for f in app_list[app].files:
if os.path.isdir(persoconf.path + "/" + app + "/" + f):
if os.path.isdir( os.path.join(persoconf.path, app, f) ):
print("\t%s/" % f)
else:
print("\t%s" % f)