Changed constants names
authorMauro Scomparin <scompo@gmail.com>
Tue, 10 Jul 2018 19:09:18 +0000 (21:09 +0200)
committerMauro Scomparin <scompo@gmail.com>
Tue, 10 Jul 2018 19:09:18 +0000 (21:09 +0200)
money/money.py

index b559663d5aeddc6ad26541d605d2a8b2acd1a008..5ed8d53825063b95ab5fe04785bb69092b5b075b 100755 (executable)
@@ -9,11 +9,11 @@ LAST_MOVEMENT_NUMBER = 'latestMovementsNumber'
 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: