error variable don't need to be defined
This commit is contained in:
parent
49f824802b
commit
98d5074eff
1 changed files with 1 additions and 2 deletions
|
@ -124,8 +124,7 @@ func main() {
|
|||
defer db.Close()
|
||||
|
||||
/* create the needed folders */
|
||||
var err error
|
||||
_, err = os.Stat(COVER_PATH)
|
||||
_, err := os.Stat(COVER_PATH)
|
||||
if err != nil {
|
||||
os.Mkdir(COVER_PATH, os.ModePerm)
|
||||
}
|
||||
|
|
Reference in a new issue