Browse Source

outputpath again

add-quote-import
Michael Murtaugh 10 years ago
parent
commit
d65f9e5385
  1. 4
      etherdump

4
etherdump

@ -372,8 +372,8 @@ if __name__ == "__main__":
def get_pads(groupinfo=None): def get_pads(groupinfo=None):
pads = padids_from_path(os.path.join(args.outputpath, args.pubpath)) pads = padids_from_path(os.path.join(args.outputpath, args.pubpath))
pads = [augment_info(x, groupinfo) for x in pads] pads = [augment_info(x, groupinfo) for x in pads]
# print (("padids_from_path", args.pubpath, pads), file=sys.stderr) # print (("padids_from_path", args.pubpath, pads), file=sys.stderr)
gp = os.path.join(args.outputpath, args.grouppath) gp = os.path.join(args.outputpath, args.grouppath)
if not args.exclude_groups and gp: if not args.exclude_groups and gp:
groups = [os.path.join(gp, x) for x in os.listdir(gp)] groups = [os.path.join(gp, x) for x in os.listdir(gp)]
groups = [x for x in groups if os.path.isdir(x)] groups = [x for x in groups if os.path.isdir(x)]

Loading…
Cancel
Save