summaryrefslogtreecommitdiff
path: root/crawler/shop_mcwhisky.go
diff options
context:
space:
mode:
authorhorus2018-02-17 16:27:14 +0100
committerhorus2018-02-17 16:27:14 +0100
commit17d6c22beae3ff3f8320a7afbaf8a9c843205deb (patch)
tree8478206ad3318dabbdca0d14946c24f49e4329bc /crawler/shop_mcwhisky.go
parent2394367da917f35cbe45fba10b05493f2c3fa6db (diff)
downloadalkobote-17d6c22beae3ff3f8320a7afbaf8a9c843205deb.tar.gz
Bugfix. (crawler)
Diffstat (limited to 'crawler/shop_mcwhisky.go')
-rw-r--r--crawler/shop_mcwhisky.go2
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")