mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-04-24 15:16:52 -05:00
Fix parsing arguments
This commit is contained in:
parent
4d9fd56593
commit
2e76f276d0
|
|
@ -1095,7 +1095,7 @@ def read_filename_arguments(filename):
|
|||
't': 'tile_padding',
|
||||
}
|
||||
parsed_arguments = {}
|
||||
arguments = os.path.splitext(filename)[0].split('.')[1:]
|
||||
arguments = os.path.splitext(filename)[0].lstrip('.').split('.')[1:]
|
||||
for argument in arguments:
|
||||
arg = argument[0]
|
||||
param = argument[1:]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user