storage: Remove debug log
This commit is contained in:
parent
d80d0db9d5
commit
ce0a3d56f1
|
@ -2,7 +2,6 @@ package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"log"
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/anacrolix/torrent/metainfo"
|
"github.com/anacrolix/torrent/metainfo"
|
||||||
|
@ -14,7 +13,6 @@ type dbPieceCompletion struct {
|
||||||
|
|
||||||
func newDBPieceCompletion(dir string) (ret *dbPieceCompletion, err error) {
|
func newDBPieceCompletion(dir string) (ret *dbPieceCompletion, err error) {
|
||||||
p := filepath.Join(dir, ".torrent.db")
|
p := filepath.Join(dir, ".torrent.db")
|
||||||
log.Println(p)
|
|
||||||
db, err := sql.Open("sqlite3", p)
|
db, err := sql.Open("sqlite3", p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue