Projects/worblehat-old
Projects
/
worblehat-old
Archived
12
0
Fork 0

Oppdaterte funksjonen open_file i worblehat.py til å returnere filens innhold som en liste av strenger.

This commit is contained in:
Jabir Ali Ouassou 2011-03-05 17:43:18 +00:00
parent 3978b41456
commit 346acc5bb6
1 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,8 @@ def open_file(filename):
else:
exit("Error: %s: File does not exist!" % filename)
return open(filename, 'r').readlines()
cmdline_parsed = parse_cmdline(sys.argv[1:])