summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins/shop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/shop.py b/plugins/shop.py
index 269d686..7e0f5f1 100755
--- a/plugins/shop.py
+++ b/plugins/shop.py
@@ -613,7 +613,7 @@ def load_shop_list(config):
for l in f:
try:
item_id, buy_amount, buy_price, sell_amount, sell_price = \
- map(int, l.split())
+ map(int, l.split()[0:5])
if buy_amount > 0:
buying[item_id] = buy_price, buy_amount
if sell_amount > 0: