Mercurial > traipse_dev
comparison orpg/mapper/images.py @ 17:83fb9a73a30f traipse_dev
Forgot to have the logger spit out URL errors to the console.
author | sirebral |
---|---|
date | Tue, 21 Jul 2009 02:52:54 -0500 |
parents | cab94a90f9dc |
children | 78407d627cba |
comparison
equal
deleted
inserted
replaced
16:4a73543b8b01 | 17:83fb9a73a30f |
---|---|
119 else: | 119 else: |
120 open_rpg.get_component('log').log("Image refused to load or URI did not reference a valid image: " + path, ORPG_GENERAL, True) | 120 open_rpg.get_component('log').log("Image refused to load or URI did not reference a valid image: " + path, ORPG_GENERAL, True) |
121 del self.__fetching[path] | 121 del self.__fetching[path] |
122 except IOError: | 122 except IOError: |
123 del self.__fetching[path] | 123 del self.__fetching[path] |
124 open_rpg.get_component('log').log("Unable to resolve/open the specified URI; image was NOT laoded: " + path, ORPG_GENERAL, False) | 124 open_rpg.get_component('log').log("Unable to resolve/open the specified URI; image was NOT laoded: " + path, ORPG_GENERAL, True) |
125 finally: | 125 finally: |
126 self.__lock.release() | 126 self.__lock.release() |
127 | 127 |
128 def __loadCacheThread(self, path, image_type, imageId): | 128 def __loadCacheThread(self, path, image_type, imageId): |
129 try: | 129 try: |