title: Resource Not Found Exception in pyglet
body: <p>I'm using Python 2.6.6 and pyglet 1.1.4. In my "Erosion" folder, I have "Erosion.py" and a folder named "Images." Inside images, there are .png images. One image is named "Guard.png."</p>
  
  <p>In "Erosion.py" there is a segment that goes like so:</p>
  
  <pre><code>pyglet.resource.path = ['Images']
  pyglet.resource.reindex()
  self.image = pyglet.resource.image('%s%s' % (character, '.png'))
  </code></pre>
  
  <p>When I run this, I am given</p>
  
  <pre><code>File "C:\Python26\lib\site-packages\pyglet\resource.py", line 394, in file raise ResourceNotFoundException(name)
  ResourceNotFoundException: Resource "Guard.png" was not found on the path.  Ensure that the filename has the correct captialisation.
  </code></pre>
  
  <p></p>
  
  <p>I have tried changing the path to ['./Images'] and ['../Images']. I've also tried removing the path and the reindex call and putting Erosion.py and Guard.png in the same folder.</p>