From 5f18b8733436133d319a26d2fc130f7be1e5ce4f Mon Sep 17 00:00:00 2001 From: Leifur Halldor Asgeirsson <lasgeirsson@zerofail.com> Date: Fri, 29 Jul 2016 12:38:45 -0400 Subject: [PATCH] fix default of None --- goblin/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goblin/app.py b/goblin/app.py index 74bd979..520919c 100644 --- a/goblin/app.py +++ b/goblin/app.py @@ -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() -- GitLab