From 10388e4d430364552d1cbc7b3a0667a9dc66c771 Mon Sep 17 00:00:00 2001 From: Mauro Scomparin Date: Tue, 10 Jul 2018 21:09:18 +0200 Subject: [PATCH] Changed constants names --- money/money.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: -- 2.25.1