parent
e32b5bd336
commit
f040199892
|
@ -35,10 +35,10 @@ 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)
|
||||
print("\t%s" % f)
|
||||
|
||||
# Some apps were specified, so we list them with their files
|
||||
else:
|
||||
|
@ -55,4 +55,4 @@ def run(args, persoconf, logger):
|
|||
if os.path.isdir(persoconf.path + "/" + app + "/" + f):
|
||||
print("\t%s/" % f)
|
||||
else:
|
||||
print("\t%s" % f)
|
||||
print("\t%s" % f)
|
||||
|
|
Loading…
Reference in New Issue