Skip to content

Commit 092409b

Browse files
committed
Remove reference to undefined variable
Fixes 7341653
1 parent 5b4d3e6 commit 092409b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)