Skip to content

Commit 2049cde

Browse files
authored
Merge pull request #116 from sublimal/bugfixes
plugins_files and plugins_dirs no longer defined
2 parents b2d03a0 + 092409b commit 2049cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diskover/diskover.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ def get_tree_size(thread, root, top, path, docs, sizes, inodes, depth=0, maxdept
486486
warnings += 1
487487
pass
488488
# check plugins for adding extra meta data to data dict
489-
if config['PLUGINS_ENABLE'] and plugins_files:
489+
if config['PLUGINS_ENABLE'] and config['PLUGINS_FILES']:
490490
for plugin in plugins:
491491
try:
492492
# check if plugin is for file doc
@@ -646,7 +646,7 @@ def get_tree_size(thread, root, top, path, docs, sizes, inodes, depth=0, maxdept
646646
warnings += 1
647647
pass
648648
# check plugins for adding extra meta data to data dict
649-
if config['PLUGINS_ENABLE'] and plugins_dirs:
649+
if config['PLUGINS_ENABLE'] and config['PLUGINS_DIRS']:
650650
for plugin in plugins:
651651
# check if plugin is for directory doc
652652
try:

0 commit comments

Comments
 (0)