This commit is contained in:
lordwelch 2017-11-30 20:11:26 -07:00
parent 349e7cf160
commit db641feb70

View File

@ -61,9 +61,9 @@ func process(torrentFile string) *SceneVideoTorrent {
vt *SceneVideoTorrent = new(SceneVideoTorrent)
)
f, err := os.OpenFile(torrentFile, os.O_RDONLY, 755)
fmt.Println("File: ",err)
fmt.Println("File: ", err)
err = mt.ReadFile(f)
fmt.Println("Read: "err)
fmt.Println("Read: ", err)
fmt.Printf("%+v\n", mt)
vt.Torrent = NewTorrent(*mt)
vt.Parse(vt.Name)