gui ml modal view
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
import os
|
||||
# import importlib
|
||||
# from v2realbot.strategyblocks.indicators.custom.opengap import opengap
|
||||
# Get the directory of the current file (__init__.py)
|
||||
current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
for filename in os.listdir("v2realbot/strategyblocks/indicators/custom"):
|
||||
for filename in os.listdir(current_dir):
|
||||
if filename.endswith(".py") and filename != "__init__.py":
|
||||
# __import__(filename[:-3])
|
||||
__import__(f"v2realbot.strategyblocks.indicators.custom.{filename[:-3]}")
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
# import os
|
||||
# # import importlib
|
||||
# # from v2realbot.strategyblocks.indicators.custom.opengap import opengap
|
||||
# Get the directory of the current file (__init__.py)
|
||||
# current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
# for filename in os.listdir("v2realbot/strategyblocks/indicators/custom"):
|
||||
# for filename in os.listdir(current_dir):
|
||||
# if filename.endswith(".py") and filename != "__init__.py":
|
||||
# # __import__(filename[:-3])
|
||||
# __import__(f"v2realbot.strategyblocks.indicators.custom.{filename[:-3]}")
|
||||
|
||||
Reference in New Issue
Block a user