minor bugfix fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-07-06 02:36:23 +04:00
parent 1a32f639bf
commit 8ed62ff333

View File

@ -1,7 +1,7 @@
#======================================================================= #=======================================================================
__version__ = '''0.0.01''' __version__ = '''0.0.01'''
__sub_version__ = '''20130705205545''' __sub_version__ = '''20130706023530'''
__copyright__ = '''(c) Alex A. Naanou 2011''' __copyright__ = '''(c) Alex A. Naanou 2011'''
@ -291,6 +291,9 @@ def build_images(path, config=CONFIG, gid_generator=hash_gid, verbosity=0):
else: else:
continue continue
if orientation not in range(0, 9):
orientation = 0
img = { img = {
'id': gid_generator(source_path), 'id': gid_generator(source_path),
'name': name, 'name': name,