aboutsummaryrefslogtreecommitdiff
path: root/lib/filewin.py
diff options
context:
space:
mode:
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