tps: separate microseconds in timestamps for readability

parent 94bfdd90
...@@ -146,7 +146,7 @@ def get_serial(): ...@@ -146,7 +146,7 @@ def get_serial():
def timestamp(): def timestamp():
"""timestamp for now """timestamp for now
""" """
return datetime.datetime.now().strftime('%Y%m%d.%H%M%S%f') return datetime.datetime.now().strftime('%Y%m%d.%H%M%S.%f')
def sha(blob, len=7): def sha(blob, len=7):
"""create a sha-160 hash of a binary object """create a sha-160 hash of a binary object
......
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