diff options
| author | horus | 2018-02-17 16:27:14 +0100 |
|---|---|---|
| committer | horus | 2018-02-17 16:27:14 +0100 |
| commit | 17d6c22beae3ff3f8320a7afbaf8a9c843205deb (patch) | |
| tree | 8478206ad3318dabbdca0d14946c24f49e4329bc /crawler/shop_mcwhisky.go | |
| parent | 2394367da917f35cbe45fba10b05493f2c3fa6db (diff) | |
| download | alkobote-17d6c22beae3ff3f8320a7afbaf8a9c843205deb.tar.gz | |
Bugfix. (crawler)
Diffstat (limited to 'crawler/shop_mcwhisky.go')
| -rw-r--r-- | crawler/shop_mcwhisky.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawler/shop_mcwhisky.go b/crawler/shop_mcwhisky.go index 0c35eff..2a188c3 100644 --- a/crawler/shop_mcwhisky.go +++ b/crawler/shop_mcwhisky.go @@ -82,7 +82,7 @@ func (app *App) ScrapeMCWhisky(shop Shop) []Angebot { var ctx string W.Volume, ctx = get_volume(e) - if W.Abv == 0 { + if W.Volume == 0 { W.error_msg = "MC Whisky: Volume is zero" W.error_ctx = ctx WarnOffer(W, "MC Whisky: Volume is zero") |
