-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config has no split attribute for Item_filter #599
Comments
Same error here. |
Had the same issue, because the notation has changed. Now I use |
Seems to be working |
Please don't mark it as working! the logic hasn't be changed by the person that "fixed" the problem, a list should be used because I use "101" in list, I'm working on making both "101,102,103" and ["101","102","103"] work but it will drop everything at the moment ! |
@dmadisetti assign the issue to yourself then please :) |
* Add Dockerfile * Update Dockerfile to use Alpine Python base image * Remove unnecessary mkdir * Add basic usage information * Delete apk package cache after installing packages, to shrink the image size * Use --no-cache with apk add to remove the need to delete the cache afterwards * Combined installing packages with running pip to allow us to remove packages and shrink the image * Install ca-certificates package earlier so it's not invalidated by python deps changes * Add .dockerignore
Expected Behavior
Split and read the string to array?
Actual Behavior
D:\Pokemon stuff\PokemonGo-Bot>pokecli.py
Traceback (most recent call last):
File "D:\Pokemon stuff\PokemonGo-Bot\pokecli.py", line 219, in
main()
File "D:\Pokemon stuff\PokemonGo-Bot\pokecli.py", line 196, in main
config = init_config()
File "D:\Pokemon stuff\PokemonGo-Bot\pokecli.py", line 168, in init_config
config.item_filter = [str(item_id) for item_id in config.item_filter.split(',')]
AttributeError: 'list' object has no attribute 'split'
Steps to Reproduce
Have up-to-date config.json
Other Information
OS: Win10 pro x64
Git Commit: a634b55
The text was updated successfully, but these errors were encountered: