Aggiornare 'money/money.py'
authorscompo <scompo@gmail.com>
Tue, 10 Jul 2018 23:36:53 +0000 (23:36 +0000)
committerscompo <scompo@gmail.com>
Tue, 10 Jul 2018 23:36:53 +0000 (23:36 +0000)
money/money.py

index 05f9974ec8f6111206fa9abbceef7f0cc52686a0..fa9e070bacad72ad5dc048b14ef19b342d863b22 100755 (executable)
@@ -108,7 +108,7 @@ def load_file(file):
     movements = []
     with open(file, "r") as data_file:
         for line in data_file:
-            split_line = l.split(';')
+            split_line = line.split(';')
             movement = {
                 VALUE_FIELD_NAME: split_line[0],
                 DATE_FIELD_NAME: split_line[1],