Skip to content

Commit

Permalink
fix: import path for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydw committed Aug 18, 2021
1 parent 01e3c5b commit 391b75e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions grow/cli.py
@@ -1,5 +1,9 @@
# NOTE: This is needed so extensions can import `grow` packages.
import logging
import os
import sys
sys.path.extend(
[os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..')])

from grow import commands
from grow.commands import group
Expand Down

0 comments on commit 391b75e

Please sign in to comment.