summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-03 15:00:15 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-09-03 15:00:15 (GMT)
commit433195a461f828204234aba5dc569f7a10c0d585 (patch)
treef60279daebf926bac4eeeb3b5905b36128904f24
parent20f51940d6bffdcf65b77454d02ab4560f7ba206 (diff)
downloadmorph-sam/ruby-integration-old.tar.gz
-rw-r--r--import/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/import/main.py b/import/main.py
index 4bb09e9..3ef66fe 100644
--- a/import/main.py
+++ b/import/main.py
@@ -57,6 +57,7 @@ class LorrySet(object):
self.data = self.parse_all_lorries()
else:
os.makedirs(lorries_path)
+ self.data = {}
def all_lorry_files(self):
for dirpath, dirnames, filenames in os.walk(self.path):