diff options
-rw-r--r-- | tools/image-on-demand/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/image-on-demand/main.go b/tools/image-on-demand/main.go index e2300b6..123ac4b 100644 --- a/tools/image-on-demand/main.go +++ b/tools/image-on-demand/main.go | |||
@@ -127,8 +127,8 @@ func loadList(name string) error { | |||
127 | 127 | ||
128 | func main() { | 128 | func main() { |
129 | IMAGE_TYPES = make(map[string]int) | 129 | IMAGE_TYPES = make(map[string]int) |
130 | IMAGE_TYPES["thumb"] = 0 | 130 | IMAGE_TYPES["full"] = 0 |
131 | IMAGE_TYPES["full"] = 1 | 131 | IMAGE_TYPES["thumb"] = 1 |
132 | files = make(map[string]map[int][]string) | 132 | files = make(map[string]map[int][]string) |
133 | if err := loadList("gril"); err != nil { | 133 | if err := loadList("gril"); err != nil { |
134 | log.Fatal(err) | 134 | log.Fatal(err) |