mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 19:08:38 -06:00
18423 source view
This commit is contained in:
parent
dad7637c8f
commit
69fcdd23b3
@ -61,8 +61,5 @@ class PythonModuleMixin:
|
||||
return name
|
||||
|
||||
def get_module(self):
|
||||
# loader = SourceFileLoader(self.python_name, self.full_path)
|
||||
# module = loader.load_module()
|
||||
# module = load_module(self.python_name, self.full_path)
|
||||
module = load_module(self.python_name, self.name)
|
||||
return module
|
||||
|
Loading…
Reference in New Issue
Block a user