Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ptg committed Oct 9, 2024
1 parent 111ac2b commit f879a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptgctl/util/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _load_module(self, reload=False):
self._wrapped = wrapped = self._get_module(self._self)
except ImportError as e:
warnings.warn(f'Error Importing {self.__name__}: {e}')
self._wrapped = None
self._wrapped = wrapped = None
keys = (
getattr(wrapped, '__bind__', None) or
getattr(wrapped, '__all__', None) or
Expand Down

0 comments on commit f879a57

Please sign in to comment.