Commit 5f18b873 authored by Leifur Halldor Asgeirsson's avatar Leifur Halldor Asgeirsson
Browse files

fix default of None

parent 4a73a61d
......@@ -42,7 +42,7 @@ async def create_app(url, loop, **config):
features = {}
async with await driver.GremlinServer.open(url, loop) as conn:
# Propbably just use a parser to parse the whole feature list
aliases = config.get('aliases', None)
aliases = config.get('aliases', {})
stream = await conn.submit(
'graph.features().graph().supportsComputer()', aliases=aliases)
msg = await stream.fetch_data()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment