You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We might want to add possibilities to save selected entries in specific subfolders.
We could define an outdir_pattern which creates an outdir from descriptors within an entry.
defpattern(outdir, entry):
returnos.path.join(outdir, entry.user) # stores entries based on the user who created the packagedefsave_entries(self, outdir=None, outdir_pattern=pattern):
forentryinself:
ifoutdir_pattern:
outdir=outdir_pattern(outdir, entry)
entry.save(outdir=outdir)
We could implement a similar approach for the filename.
We could define an
outdir_pattern
which creates an outdir from descriptors within an entry.We could implement a similar approach for the filename.
Originally posted by @DunklesArchipel in #39 (comment)
The text was updated successfully, but these errors were encountered: