diff --git a/examples/IPython Kernel/ipython-get-history.py b/examples/IPython Kernel/ipython-get-history.py index b99fa3a..a2d2ab7 100755 --- a/examples/IPython Kernel/ipython-get-history.py +++ b/examples/IPython Kernel/ipython-get-history.py @@ -25,7 +25,7 @@ session_number = int(sys.argv[1]) if len(sys.argv) > 2: filepath = Path(sys.argv[2]) dest = open(filepath, "w") - raw = not filepath.name.endswith('.py') + raw = not filepath.name.endswith(".py") else: dest = sys.stdout raw = True