summaryrefslogtreecommitdiff
path: root/pokemontools/gfx.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-02-11 14:22:50 -0800
committeryenatch <yenatch@gmail.com>2015-02-11 14:22:50 -0800
commit68eae566eca944bc116b5a1301ff63aba8a35c99 (patch)
treebd4beea69113749563aeb87985523b7ec49f85be /pokemontools/gfx.py
parentfb23f2754c9b94eac871a33621ce43fa71b53170 (diff)
parent2c2ceb74567664379cebfb121e0db929718a4ba2 (diff)
Merge remote-tracking branch 'origin/master'
Conflicts: pokemontools/gfx.py
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 b2244a5..53fc039 100644
--- a/pokemontools/gfx.py
+++ b/pokemontools/gfx.py
@@ -736,7 +736,7 @@ def read_filename_arguments(filename, yaml_filename = os.path.join(config.path,
't': 'tile_padding',
}
# Filename arguments override yaml.
- arguments = os.path.splitext(filename)[0].split('.')[1:]
+ arguments = os.path.splitext(filename)[0].lstrip('.').split('.')[1:]
for argument in arguments:
# Check for integer arguments first (i.e. "w128").