CONFIG_FILE_NAME = 'money.conf'
CONFIG_FILE_LOCATION = expanduser('~') + '/.config/' + CONFIG_FILE_NAME
-TYPE_FIELD_NAME = 'tipo'
-VALUE_FIELD_NAME = 'valore'
-DATE_FIELD_NAME = 'data'
-HOUR_FIELD_NAME = 'ora'
-DESCRIPTION_FIELD_NAME = 'descrizione'
+TYPE_FIELD_NAME = 'type'
+VALUE_FIELD_NAME = 'value'
+DATE_FIELD_NAME = 'date'
+HOUR_FIELD_NAME = 'hour'
+DESCRIPTION_FIELD_NAME = 'description'
def scrivi_movimento(path, m):
with open(path, 'a') as f: