diff options
Diffstat (limited to 'pokemontools/gfx.py')
-rw-r--r-- | pokemontools/gfx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/gfx.py b/pokemontools/gfx.py index bfd6745..dc3456a 100644 --- a/pokemontools/gfx.py +++ b/pokemontools/gfx.py @@ -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:] |