1
0

timestamp

This commit is contained in:
thomasv
2012-04-03 09:29:36 +02:00
parent 98161c4958
commit ba0efd9b75

View File

@@ -305,9 +305,9 @@ if __name__ == '__main__':
v = line['value'] v = line['value']
b += v b += v
try: try:
time_str = datetime.datetime.fromtimestamp( line['nTime']) time_str = str( datetime.datetime.fromtimestamp( line['timestamp']))
except: except:
print line['nTime'] print line['timestamp']
time_str = 'pending' time_str = 'pending'
label = line.get('label') label = line.get('label')
if not label: label = line['tx_hash'] if not label: label = line['tx_hash']