You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an app is imported via a relative entry on sys.path, then os.path.dirname(mod.__file__) could return a relative path, which would result in a relative app template dir path. This causes problems with the startswith sanity check in FilesystemFinder.find. The fix is to add an abspath in _get_app_template_dirs to ensure that it always returns full absolute paths.
The text was updated successfully, but these errors were encountered:
If an app is imported via a relative entry on
sys.path
, thenos.path.dirname(mod.__file__)
could return a relative path, which would result in a relative app template dir path. This causes problems with thestartswith
sanity check inFilesystemFinder.find
. The fix is to add anabspath
in_get_app_template_dirs
to ensure that it always returns full absolute paths.The text was updated successfully, but these errors were encountered: