Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIX: tweepyshell: ipython shell took original arguments

Previously the ipython shell kidnapped all tweepyshell input
arguments and interpreted as its own. Thus e.g. supplying
a username resulted in it trying to open a file with a name equal
to the username. This is not nice so let's put an end to it by
explicitly passing an empty arguments list.
  • Loading branch information...
commit 2f49648ab6d68882e438cca7e63762a6b71dfb86 1 parent b9686cf
@imrehg imrehg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tweepyshell
View
2  tweepyshell
@@ -37,7 +37,7 @@ shellbanner = '<Tweepy shell>'
try:
import IPython
- ipshell = IPython.Shell.IPShell(user_ns = local_ns)
+ ipshell = IPython.Shell.IPShell([''], user_ns = local_ns)
ipshell.mainloop(sys_exit=1, banner = shellbanner)
except ImportError:
import code
Please sign in to comment.
Something went wrong with that request. Please try again.