Skip to content

Commit

Permalink
Added an output to show which root folder is acutally viewed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dietmar Malli committed Jan 22, 2017
1 parent ab68008 commit f5e4110
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sharedExporterFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__copyright__ = "Copyright 2017, Dietmar Malli"
__credits__ = []
__license__ = "GPLv3"
__version__ = "1.0.1"
__version__ = "1.0.3"
__maintainer__ = ["Dietmar Malli"]
__email__ = ["[email protected]"]
__status__ = "Production"
Expand All @@ -33,6 +33,9 @@ def newer_as(note_file, pdf_file):

def get_recursive_filelist(filebase='./', filetype='.one', exclude_folders=[]):
list = []

print('Generating recursive list for: {}'.format(filebase))

for root, dirs, files in os.walk(filebase, topdown=True):
for file in files:
dirs[:] = [d for d in dirs if d not in exclude_folders]
Expand Down

0 comments on commit f5e4110

Please sign in to comment.