aboutsummaryrefslogtreecommitdiff
path: root/lib/filewin.py
diff options
context:
space:
mode:
authorSkip Montanaro <[email protected]>2021-02-16 20:14:16 -0600
committerSkip Montanaro <[email protected]>2021-02-16 20:14:16 -0600
commitc2587c76f1b416cdbecb979e54941933246bf856 (patch)
treebb61ee9128075ce22af4eafa232f13c2e5a07896 /lib/filewin.py
parentd90761a005b24018ae237bf551515772a1de656f (diff)
downloadpython-0.9.1-patched-QoL-c2587c76f1b416cdbecb979e54941933246bf856.tar.xz
python-0.9.1-patched-QoL-c2587c76f1b416cdbecb979e54941933246bf856.zip
starting over
Diffstat (limited to 'lib/filewin.py')
-rw-r--r--lib/filewin.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/filewin.py b/lib/filewin.py
index ad35ea4..6a224e7 100644
--- a/lib/filewin.py
+++ b/lib/filewin.py
@@ -8,11 +8,11 @@ from util import readfile
# FILE WINDOW
def open_readonly(fn): # Open a file window
- w = textwin.open_readonly(fn, readfile(fn))
- w.fn = fn
- return w
+ w = textwin.open_readonly(fn, readfile(fn))
+ w.fn = fn
+ return w
def open(fn): # Open a file window
- w = textwin.open(fn, readfile(fn))
- w.fn = fn
- return w
+ w = textwin.open(fn, readfile(fn))
+ w.fn = fn
+ return w