Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit 3d8dc86

Browse files
authored
Update graphene_django_hook.py
1 parent 6572a90 commit 3d8dc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
3838
args = parser.parse_args(argv)
3939

4040
# TODO: Fix parsing arguments
41-
command = '{} {} graphql_schema'.format(get_python_lib(), args.managepy_path or 'manage.py')
41+
command = '{} {} graphql_schema'.format(get_python_lib().strip('/site-packages'), args.managepy_path or 'manage.py')
4242

4343
if args.settings is not None:
4444
command += ' --settings={}'.format(args.settings)

0 commit comments

Comments
 (0)