Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

TypeError: int() argument must be a string, a bytes-like object or a number, not 'filter' #8

Open
htam-har opened this issue Oct 22, 2020 · 0 comments

Comments

@htam-har
Copy link

Traceback (most recent call last):
File "C:\xxx\Desktop\poe\jewel tool\scripts\analyzer.py", line 410, in
analyzeJewels(dirs["jewel"])
File "C:\xxx\Desktop\poe\jewel tool\scripts\analyzer.py", line 299, in analyzeJewels
nodes = imagesInDirToStrings(jewelDir)
File "C:\xxx\Desktop\poe\jewel tool\scripts\analyzer.py", line 31, in imagesInDirToStrings
files = Helpers.getFilesByExtFromDir(dir, ".png")
File "C:\xxx\Desktop\poe\jewel tool\scripts\helpers.py", line 80, in getFilesByExtFromDir
files.sort(key=lambda f: int(filter(str.isdigit, f)))
File "C:\xxx\Desktop\poe\jewel tool\scripts\helpers.py", line 80, in
files.sort(key=lambda f: int(filter(str.isdigit, f)))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant