Commit 47bcd6f
Changed files (1)
question.go
@@ -32,7 +32,7 @@ func parseLine(line string) (Record, error) {
// question, Category, category
// Lines starting with '#' are ignored
func LoadFile(file *os.File) ([]Record, error) {
- log.Printf("Loading file: %+v", file)
+ log.Printf("Loading file: %+v", file.Name())
var records []Record
scanner := bufio.NewScanner(file)
for scanner.Scan() {