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

Commit

Permalink
Update graphene_django_hook.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jun 12, 2020
1 parent 6572a90 commit 3d8dc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene_django_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
args = parser.parse_args(argv)

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

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

0 comments on commit 3d8dc86

Please sign in to comment.