Skip to content

Commit 23a6adc

Browse files
committed
Fixed a path bug in plugins for production configuration
1 parent 1f4ee05 commit 23a6adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scribeui_pyramid/modules/plugins/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def includeme(config):
2222
#===============================
2323
def load_plugins():
2424
plugins = {}
25-
path = os.path.abspath(os.path.join("scribeui_pyramid", "modules", "plugins"))
25+
path = os.path.abspath(os.path.dirname(__file__))
2626
for filename in os.listdir(path):
2727
if os.path.isdir(os.path.join(path, filename)) and os.path.isfile(os.path.join(path, filename, '__init__.py')):
2828
try:

0 commit comments

Comments
 (0)