summaryrefslogtreecommitdiff
path: root/plugins/shop.py
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2022-01-29 01:01:37 +0100
committerHoraK-FDF <horak-fdf@web.de>2022-01-29 01:01:37 +0100
commit7ea771a58b02e7ef4bd7100aa5fb5866e1322fc2 (patch)
tree9edf96057461ceec77ccb3500a0eb65ce08fa091 /plugins/shop.py
parent2fdcca40d4a62d8fb9c9525e687ed37e1c452799 (diff)
downloadmanachat-7ea771a58b02e7ef4bd7100aa5fb5866e1322fc2.tar.gz
manachat-7ea771a58b02e7ef4bd7100aa5fb5866e1322fc2.tar.bz2
manachat-7ea771a58b02e7ef4bd7100aa5fb5866e1322fc2.tar.xz
manachat-7ea771a58b02e7ef4bd7100aa5fb5866e1322fc2.zip
shoplist allow strings at end
Diffstat (limited to 'plugins/shop.py')
-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: