diff options
author | Livio Recchia <recchialivio@libero.it> | 2022-01-29 02:20:06 +0000 |
---|---|---|
committer | Livio Recchia <recchialivio@libero.it> | 2022-01-29 02:20:06 +0000 |
commit | db34459695883cdd301220dd797f43abf34118c9 (patch) | |
tree | 9edf96057461ceec77ccb3500a0eb65ce08fa091 | |
parent | 2fdcca40d4a62d8fb9c9525e687ed37e1c452799 (diff) | |
parent | 7ea771a58b02e7ef4bd7100aa5fb5866e1322fc2 (diff) | |
download | manachat-db34459695883cdd301220dd797f43abf34118c9.tar.gz manachat-db34459695883cdd301220dd797f43abf34118c9.tar.bz2 manachat-db34459695883cdd301220dd797f43abf34118c9.tar.xz manachat-db34459695883cdd301220dd797f43abf34118c9.zip |
Merge branch 'shoplist_allow_strings_at_end' into 'master'
shoplist allow strings at end
See merge request liviorecchia/manachat!4
-rwxr-xr-x | plugins/shop.py | 2 |
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: |