and started on a start_timer command.
QUBL4AG3IUUZG4SRXYXA25FW75TPLCU2YUK7YT2PUD5HVRSOYSSAC def create_project(p_name, p_estimatedtime, details):pass
import jsonimport simplejsondef create_project(p_name, p_estimatedtime, details=''):project = {'estimated time': p_estimatedtime,'details': details,'state': 'OFF'}with open('data/projects', 'r+') as p_file:projects = json.load(p_file)p_file.seek(0)p_file.truncate()projects.update({p_name: project})p_file.write(simplejson.dumps(projects, indent=4, sort_keys=True))print('project created.')