瀏覽代碼

Fix extraneous arg in "db shell" CLI

theenglishway (time) 7 年之前
父節點
當前提交
a49287600c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      twhatter/cli.py

+ 1 - 1
twhatter/cli.py

@@ -75,7 +75,7 @@ def shell(ctx):
         'User': User
     }
     IPython.start_ipython(argv=[], user_ns=user_ns)
-    ctx.obj['output'].stop(session)
+    ctx.obj['output'].stop()
 
 
 db.add_command(profile)