Commit 47bcd6f

Richard Luby <richluby@gmail.com>
2016-10-26 11:35:54
removed offending log line
line used for debugging that outlived its usefulness changed log line to output useful information
1 parent 8d1db3f
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() {