From 97e2b9fcfe59e5e9fe44e668c3685ad8c3140cb5 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Wed, 24 May 2017 23:20:22 +0200 Subject: [PATCH] Forgot this file in last commit --- util/categories/categories.go | 38 ++--------------------------------- 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/util/categories/categories.go b/util/categories/categories.go index 52e67416..d6edb5a7 100644 --- a/util/categories/categories.go +++ b/util/categories/categories.go @@ -12,43 +12,9 @@ func GetCategories() map[string]string { } if config.IsSukebei() { - categories = map[string]string{ - "1_": "art", - "1_1": "art_anime", - "1_2": "art_doujinshi", - "1_3": "art_games", - "1_4": "art_manga", - "1_5": "art_pictures", - "2_": "real_life", - "2_1": "real_life_photobooks_and_pictures", - "2_2": "real_life_videos", - } + categories = config.TorrentSukebeiCategories } else { - categories = map[string]string{ - "3_": "anime", - "3_12": "anime_amv", - "3_5": "anime_english_translated", - "3_13": "anime_non_english_translated", - "3_6": "anime_raw", - "2_": "audio", - "2_3": "audio_lossless", - "2_4": "audio_lossy", - "4_": "literature", - "4_7": "literature_english_translated", - "4_8": "literature_raw", - "4_14": "literature_non_english_translated", - "5_": "live_action", - "5_9": "live_action_english_translated", - "5_10": "live_action_idol_pv", - "5_18": "live_action_non_english_translated", - "5_11": "live_action_raw", - "6_": "pictures", - "6_15": "pictures_graphics", - "6_16": "pictures_photos", - "1_": "software", - "1_1": "software_applications", - "1_2": "software_games", - } + categories = config.TorrentCleanCategories } return categories