Handle loading resources in the CWD.
Handle loading resources in the CWD.


Index: trunk/pyglet/resource.py
===================================================================
--- trunk/pyglet/resource.py	(revision 445)
+++ trunk/pyglet/resource.py	(working copy)
@@ -168,6 +168,8 @@
     def find_file(self, filename):
         if os.path.isabs(filename):
             return filename
+        if os.path.exists(filename):
+            return filename
         for path in self.paths:
             fn = os.path.join(path, filename)
             if os.path.exists(fn):


git-svn-id: d4fdfcd4de20a449196f78acc655f735742cd30d@446 14d46d22-621c-0410-bb3d-6f67920f7d95

regular/pyglet-avbin-optimizations,regular/pyglet-avbin-optimizations,regular/pyglet-avbin-optimizations,regular/pyglet-avbin-optimizations