oh mutation

master
nathaniel smith 2015-07-28 15:17:13 -07:00
parent 93d4b0a1d3
commit 20304d08f8
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ def get_user_data():
def get_data(): def get_data():
user_data = get_user_data() user_data = get_user_data()
data = {'generated_at': datetime.now().strftime('%Y-%m-%d %H:%M:%S')} data = {'generated_at': datetime.now().strftime('%Y-%m-%d %H:%M:%S')}
return data.update(user_data) data.update(user_data)
return data
if __name__ == '__main__': if __name__ == '__main__':
print(json.dumps(get_data())) print(json.dumps(get_data()))