mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-23 20:33:08 +00:00
🤦♂️
This commit is contained in:
parent
a33a9ba817
commit
498614e78a
1 changed files with 1 additions and 2 deletions
|
@ -234,8 +234,7 @@ class Database:
|
|||
for file in os.listdir(extra_dir):
|
||||
name, ext = os.path.splitext(file.lower())
|
||||
if ext == '.jpg':
|
||||
path = os.path.join(self.directory, 'Images', 'Extra',
|
||||
name + ext)
|
||||
path = os.path.join(extra_dir, file)
|
||||
father = self.__pokemon_dictionary.get(name.split("-")[0])
|
||||
if father is not None:
|
||||
pokemon = Pokemon(None, name, father.get_region(),
|
||||
|
|
Loading…
Reference in a new issue