mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
Python 3 doesn't like "file".
This commit is contained in:
@@ -6,7 +6,7 @@ BAR = '\n\n' + ('-' * 74) + '\n\n'
|
||||
|
||||
for f in sys.argv:
|
||||
inman = False
|
||||
for line in file(f):
|
||||
for line in open(f):
|
||||
if inman:
|
||||
if line.startswith('**man-end'):
|
||||
inman = False
|
||||
|
||||
Reference in New Issue
Block a user