diff options
| author | Skip Montanaro <[email protected]> | 2021-02-16 20:14:16 -0600 |
|---|---|---|
| committer | Skip Montanaro <[email protected]> | 2021-02-16 20:14:16 -0600 |
| commit | c2587c76f1b416cdbecb979e54941933246bf856 (patch) | |
| tree | bb61ee9128075ce22af4eafa232f13c2e5a07896 /lib/filewin.py | |
| parent | d90761a005b24018ae237bf551515772a1de656f (diff) | |
| download | python-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.py | 12 |
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 |
