X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fbrowser_stack.py;fp=bin%2Fbrowser_stack.py;h=47b17744c0eda98734bc8e08de3a6adeaa0836e2;hb=b6cdcff5e4d2bbf5342db3466b316dd6210bc035;hp=94e6c607fa8700fb20351b8e794e0c1249667537;hpb=58bac4e53ad1aab305de77f24a5e4a3d130e2ad4;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 []