Commit 48d9f7a7 authored by Okhin's avatar Okhin
Browse files

Fixing the name of the CSV updater

parent 9a8b9984
Pipeline #2430 failed with stages
in 1 minute and 5 seconds
......@@ -143,7 +143,7 @@ class Importer(models.Model):
# If it's a file, let's parse it according to our format.
if self.kind() == 'file':
with open(self.file.path, u'rU') as f:
if self.category == 'updater':
if self.category == 'update':
# If we're a csv format, let's use DictReader on a file object
reader = DictReader(f)
for item in reader:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment