From: Mauro Scomparin Date: Tue, 10 Jul 2018 19:09:18 +0000 (+0200) Subject: Changed constants names X-Git-Url: https://git.scompo.it/?a=commitdiff_plain;h=10388e4d430364552d1cbc7b3a0667a9dc66c771;p=money.git Changed constants names --- diff --git a/money/money.py b/money/money.py index b559663..5ed8d53 100755 --- a/money/money.py +++ b/money/money.py @@ -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: