Commit fe9d8bb5 authored by Sasha Z's avatar Sasha Z
Browse files

read_binary now prints whole record

parent feb15ba7
......@@ -38,16 +38,12 @@ def main():
return record
def show2(record):
return str(record['name']) + ' ' + str(record['timestamp'])
if not args.index:
for record in file:
print(show2(record))
print(show(record))
else:
for i in args.index:
print(i, ":", show2(file[i]))
print(i, ":", show(file[i]))
file.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment