Skip to content

Commit

Permalink
fix syrusakbary#12: import schema from local directory, pepenv or global
Browse files Browse the repository at this point in the history
  • Loading branch information
Wis authored May 16, 2019
1 parent f832c91 commit 274a6c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gdom/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
from flask import Flask, Blueprint, url_for
from flask_graphql import GraphQLView

from schema import schema
try:
from . import schema
except:
import schema

SAMPLE_QUERY = '''
{
Expand Down

0 comments on commit 274a6c3

Please sign in to comment.