Changed README.md to described added functionality. Also edited gitfiti.py to accept template files with newlines between templates.

This commit is contained in:
William Povell
2013-05-21 21:53:47 -04:00
parent 8e3cb8e37f
commit 599358d30c
2 changed files with 26 additions and 2 deletions

View File

@ -98,9 +98,10 @@ def load_images(imgNames):
name = name[1:]
while True:
imgLine = img.readline().replace('\n', '')
imgLine = img.readline()
if imgLine == '':
break
imgLine.replace('\n', '')
if(imgLine[0] == ':'):
loadedImgs[name] = json.loads(imgList)
name = imgLine[1:]