update type hint

This commit is contained in:
James Swineson 2019-04-17 20:04:23 +08:00
parent 76b9adc71c
commit f16f3978d4

View File

@ -22,7 +22,7 @@ shared_key_data = "kjfdlskfhiuewhfk947368"
server_key_file = "/etc/ssh/ssh_host_rsa_key.pub"
subscription_file = "/etc/subscription"
def get_timestamp():
def get_timestamp() -> int:
return int(time.time())
# perl's md5_base64 implementation