diff --git a/main.go b/main.go index 780b4df..baa4f0f 100644 --- a/main.go +++ b/main.go @@ -61,7 +61,8 @@ func process(torrentFile string) *SceneVideoTorrent { vt *SceneVideoTorrent = new(SceneVideoTorrent) ) f, _ := os.OpenFile(torrentFile, os.O_RDONLY, 755) - mt.ReadFile(f) + err := mt.ReadFile(f) + fmt.Println(err) fmt.Printf("%+v\n", mt) vt.Torrent = NewTorrent(*mt) vt.Parse(vt.Name)