diff options
author | jan <jan@ruken.pw> | 2016-10-09 21:37:11 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2016-10-09 21:37:11 (UTC) |
commit | a4d27dd58a882c4269bede2417369e0427905f6f (patch) | |
tree | 145e834fcac9da22e641bdc8c6f73cdeefd3fc1c /tools/image-on-demand | |
parent | 8ef693e3e601963bb52bb257986cfb56d7aab664 (diff) |
fixieren der zuordnung in image-on-demand
Diffstat (limited to 'tools/image-on-demand')
-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) |