Skip to content

Commit

Permalink
Merge pull request #151 from zoc/patch-1
Browse files Browse the repository at this point in the history
Fix wrong config item being used in user collector
  • Loading branch information
akpw authored Jun 3, 2024
2 parents f375bda + 5543c63 commit b6fb7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mktxp/collector/user_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class UserCollector(BaseCollector):
'''Active Users collector'''
@staticmethod
def collect(router_entry):
if not router_entry.config_entry.installed_packages:
if not router_entry.config_entry.user:
return

user_labels = ['name', 'when', 'address', 'via', 'group']
Expand Down

0 comments on commit b6fb7b3

Please sign in to comment.