Skip to content

Commit

Permalink
[fix] Fixed Device._has_group method
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Jul 10, 2023
1 parent 83744aa commit 37fcfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwisp_controller/config/base/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _has_config(self):
return hasattr(self, 'config')

def _has_group(self):
return hasattr(self, 'config')
return hasattr(self, 'group')

def _get_config_attr(self, attr):
"""
Expand Down

0 comments on commit 37fcfe0

Please sign in to comment.