fix
This commit is contained in:
parent
50950c0bef
commit
0670f2c9c4
4
main.go
4
main.go
@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
"database/sql"
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
|
||||
"gopkg.in/gcfg.v1"
|
||||
tb "gopkg.in/tucnak/telebot.v2"
|
||||
)
|
||||
|
||||
@ -51,7 +51,7 @@ func main() {
|
||||
// Parsing config
|
||||
flag.Parse()
|
||||
|
||||
err = gcfg.ReadFileInto(&cfg, *config)
|
||||
err := gcfg.ReadFileInto(&cfg, *config)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to parse gcfg data: %s", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user