jcardama / csgo-market-sniper

Bot that monitors desirable skins and will automatically buy them
GNU General Public License v3.0
20 stars 3 forks source link

Problem by setting up the pattern index. #27

Open johannesalr opened 1 year ago

johannesalr commented 1 year ago

Hello guys does someone knows what is acctualy happening? I am not that familiar with python I tried to look but didnt find anything.

Check if the listing's pattern is in the list of acceptable patterns, if specified in the configuration.

Only this comment but whats is meant by the acceptable patterns?

Can someone help me out please?

image

Traceback (most recent call last): File "C:\Users\johan\Desktop\snipes\csgo-market-sniper.py", line 83, in main() File "C:\Users\johan\Desktop\snipes\csgo-market-sniper.py", line 65, in main process_skin_marketplace(config, driver, skin, skin_index) File "C:\Users\johan\Desktop\snipes\functions.py", line 552, in process_skin_marketplace if not is_listing_matching_purchase_criteria(user_balance, price, float_value, pattern, config_price, config_float, config_pattern): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\johan\Desktop\snipes\functions.py", line 382, in is_listing_matching_purchase_criteria if config_pattern is not None and listing_pattern not in config_pattern: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'int' is not iterable