]> git.phdru.name Git - dotfiles.git/blobdiff - bin/browser_stack.py
Fix deprecated open mode `rU` -> `r`
[dotfiles.git] / bin / browser_stack.py
index 94e6c607fa8700fb20351b8e794e0c1249667537..47b17744c0eda98734bc8e08de3a6adeaa0836e2 100644 (file)
@@ -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 []