Browse Source

Fix extraneous arg in "db shell" CLI

theenglishway (time) 7 năm trước cách đây
mục cha
commit
a49287600c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)