-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an output to show which root folder is acutally viewed.
- Loading branch information
Dietmar Malli
committed
Jan 22, 2017
1 parent
ab68008
commit f5e4110
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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] | ||
|