Fixed wrong var name in import_categories command

This commit is contained in:
Andrzej Herok 2010-05-22 05:19:34 +08:00 committed by Corey Oordt
parent 3542b019c5
commit cda1d0fd5e

View file

@ -69,7 +69,7 @@ class Command(BaseCommand):
for file_path in file_paths:
if not os.path.isfile(file_path):
print "File %s not found." % filename
print "File %s not found." % file_path
continue
f = file(file_path, 'r')
data = f.readlines()