# HG changeset patch # User Jittat Fakcharoenphol # Date 2010-02-25 05:51:07 # Node ID 25b80877ebced107db4be463e3f8fda98a449b6a # Parent 0e765be64abb0ee5a00337d32dd7f1bb48071ac6 fixed import error (thanks K.Siththa) diff --git a/lib/testdata_importer.rb b/lib/testdata_importer.rb --- a/lib/testdata_importer.rb +++ b/lib/testdata_importer.rb @@ -145,6 +145,8 @@ @problem.description_filename = "#{@problem.name}.pdf" @problem.save return "\nProblem pdf imported from #{filename}." + else + return "" end end