We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a458264 commit a166f45Copy full SHA for a166f45
freqtrade/resolvers/iresolver.py
@@ -86,13 +86,13 @@ def _get_valid_object(
86
Tuple format: [Object, source]
87
"""
88
89
- # Generate spec based on absolute path
90
- # Pass object_name as first argument to have logging print a reasonable name.
91
with PathModifier(module_path.parent):
92
module_name = module_path.stem or ""
+ # Generate spec based on absolute path
+ # Pass object_name as first argument to have logging print a reasonable name.
93
spec = importlib.util.spec_from_file_location(module_name, str(module_path))
94
if not spec:
95
- return iter([None])
+ return iter([])
96
97
module = importlib.util.module_from_spec(spec)
98
try:
0 commit comments