Permalink
Browse files

Fixed a crash when assembling an error message related to action set …

…loading
  • Loading branch information...
1 parent f78ac4e commit 0e5274a6299bf0c1914e3b768c75415e47952cda @totycro totycro committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 horizons/util/loaders/loader.py
@@ -78,7 +78,7 @@ def _load_rotation(cls, dir):
rotations[int(dirname)] = cls._load_files(os.path.join(dir, dirname),time)
except Exception as e:
if dirname != '.DS_Store':
- raise Exception("Failed to load action sets from %s with time %d: %s" % \
+ raise Exception("Failed to load action sets from %s with time %s: %s" % \
(os.path.join(dir, dirname), time, e))
return rotations

0 comments on commit 0e5274a

Please sign in to comment.