fix typo in patcher

This commit is contained in:
Azareal 2020-12-18 06:30:36 +10:00
parent 4d91842407
commit fa9bf1f916
1 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ import (
"strconv" "strconv"
c "github.com/Azareal/Gosora/common" c "github.com/Azareal/Gosora/common"
"github.com/Azareal/Gosora/query_gen" qgen "github.com/Azareal/Gosora/query_gen"
_ "github.com/go-sql-driver/mysql" _ "github.com/go-sql-driver/mysql"
) )
@ -27,7 +27,7 @@ func main() {
// Capture panics instead of closing the window at a superhuman speed before the user can read the message on Windows // Capture panics instead of closing the window at a superhuman speed before the user can read the message on Windows
defer func() { defer func() {
if r := recover() r != nil { if r := recover(); r != nil {
fmt.Println(r) fmt.Println(r)
debug.PrintStack() debug.PrintStack()
pressAnyKey(scanner) pressAnyKey(scanner)