Remove debug output
This commit is contained in:
parent
4ce03bf6ef
commit
7610f464b6
7
main.go
7
main.go
@ -61,11 +61,8 @@ func process(torrentFile string) *SceneVideoTorrent {
|
||||
mt *MetaTorrent = new(MetaTorrent)
|
||||
vt *SceneVideoTorrent = new(SceneVideoTorrent)
|
||||
)
|
||||
f, err := os.OpenFile(torrentFile, os.O_RDONLY, 755)
|
||||
fmt.Println("File: ", err)
|
||||
err = mt.ReadFile(f)
|
||||
fmt.Println("Read: ", err)
|
||||
fmt.Printf("%+v\n", mt)
|
||||
f, _ := os.OpenFile(torrentFile, os.O_RDONLY, 755)
|
||||
mt.ReadFile(f)
|
||||
vt.Torrent = NewTorrent(*mt)
|
||||
vt.Parse(strings.TrimSuffix(vt.Name, path.Ext(vt.Name)))
|
||||
fmt.Printf("%v\n", *vt)
|
||||
|
Loading…
Reference in New Issue
Block a user