summaryrefslogtreecommitdiff
path: root/pokemontools/gfx.py
diff options
context:
space:
mode:
authorSanky <gsanky@gmail.com>2014-12-19 21:39:56 +0100
committerSanky <gsanky@gmail.com>2014-12-19 21:39:56 +0100
commit2e76f276d08afefe650a928bedd9683647926b18 (patch)
tree1e88f46cbeed678ab580123b69069f2ca3c3182b /pokemontools/gfx.py
parent4d9fd56593b692fdd1a77f2763d4e3a2c2b1d3e8 (diff)
Fix parsing arguments
Diffstat (limited to 'pokemontools/gfx.py')
-rw-r--r--pokemontools/gfx.py2
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:]