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 7429a7a commit d990383Copy full SHA for d990383
flask_copilot/__init__.py
@@ -14,7 +14,7 @@
14
15
try:
16
_dist = pkg_resources.get_distribution(__package__)
17
- if not __file__.startswith(os.path.join(_dist.location, '__package__')):
+ if not __file__.startswith(os.path.join(_dist.location, __package__)):
18
# Manually raise the exception if there is a distribution but
19
# it's installed from elsewhere.
20
raise pkg_resources.DistributionNotFound
0 commit comments