typecast output of uptime

master
nathaniel smith 2015-07-31 21:48:03 -07:00
parent 9be5b61880
commit e312887f45
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ def get_data():
data = {'generated_at': datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
'site_name': 'tilde.town',
'site_url': 'http://tilde.town',
'uptime': uptime('-p'),}
'uptime': str(uptime('-p')),}
data.update(user_data)
return data