From 91b2cc7570991f04e3c80815406933faca09fdcf Mon Sep 17 00:00:00 2001 From: Unbit Date: Sat, 23 Feb 2013 12:47:06 +0100 Subject: [PATCH] another heroku check --- plugins/python/uwsgiplugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/python/uwsgiplugin.py b/plugins/python/uwsgiplugin.py index 16e48f06..028cc29f 100644 --- a/plugins/python/uwsgiplugin.py +++ b/plugins/python/uwsgiplugin.py @@ -28,6 +28,7 @@ if not 'UWSGI_PYTHON_NOLIB' in os.environ: # libdir does not exists, try to get it from the venv if not os.path.exists(libdir): libdir = '%s/lib/python%s/config' % (sys.prefix, get_python_version()) + print(os.listdir(libdir)) libpath = '%s/%s' % (libdir, sysconfig.get_config_var('LDLIBRARY')) if not os.path.exists(libpath): libpath = '%s/%s' % (libdir, sysconfig.get_config_var('LIBRARY'))