X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=lib%2Fpython%2Finit.py;h=1d365c62f9214c649be8f4dc65268a619865457c;hb=HEAD;hp=eb832c1b77f640d8899815d3633754bc1ebcf1d2;hpb=2098b777e6a193f50d3ac78d8f938a548ad66c50;p=dotfiles.git diff --git a/lib/python/init.py b/lib/python/init.py index eb832c1..1d365c6 100644 --- a/lib/python/init.py +++ b/lib/python/init.py @@ -309,7 +309,7 @@ def init(): return "Usage: cat('filename')" def __call__(self, filename): - fp = open(filename, 'rU') + fp = open(filename, 'r') text = fp.read() fp.close() print(text)