From cda1d0fd5e3044fc58813d510563e086b126736d Mon Sep 17 00:00:00 2001 From: Andrzej Herok Date: Sat, 22 May 2010 05:19:34 +0800 Subject: [PATCH] Fixed wrong var name in import_categories command --- categories/management/commands/import_categories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/categories/management/commands/import_categories.py b/categories/management/commands/import_categories.py index f06f597..1435636 100644 --- a/categories/management/commands/import_categories.py +++ b/categories/management/commands/import_categories.py @@ -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()