X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fbrowser_stack.py;h=47b17744c0eda98734bc8e08de3a6adeaa0836e2;hb=6ce04dd5e334434023621e8f109b97ea5fe02faa;hp=94e6c607fa8700fb20351b8e794e0c1249667537;hpb=9018b95f07313e4df571fa6959e2642db3914dc2;p=dotfiles.git diff --git a/bin/browser_stack.py b/bin/browser_stack.py index 94e6c60..47b1774 100644 --- a/bin/browser_stack.py +++ b/bin/browser_stack.py @@ -4,7 +4,7 @@ browser_stack = os.path.expanduser('~/.cache/browser-stack') def get_stack(): try: - with open(browser_stack, 'rU') as stack_file: + with open(browser_stack, 'r') as stack_file: return stack_file.readlines() except IOError: # No such file return []