Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Forgot to delete log test

Cette révision appartient à :
akuma06 2017-07-22 02:42:52 +02:00
Parent b797b7aacf
révision caa6d41d06
1 fichiers modifiés avec 0 ajouts et 5 suppressions

Voir le fichier

@ -3,8 +3,6 @@ package categories
import (
"sort"
"fmt"
"github.com/NyaaPantsu/nyaa/config"
)
@ -23,10 +21,7 @@ var Index map[string]int
// InitCategories init the categories and index variables. Exported for tests
func InitCategories() {
var cats map[string]string
fmt.Println(config.Get().Models.TorrentsTableName)
fmt.Println(config.IsSukebei())
if config.IsSukebei() {
fmt.Println("works")
cats = config.Get().Torrents.SukebeiCategories
} else {
cats = config.Get().Torrents.CleanCategories