- Small fix to scripts

This commit is contained in:
Sol
2012-07-06 13:27:43 +00:00
parent da727f8760
commit 825be1bafc
2 changed files with 3 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ setAbbr = sys.argv[1]
cardDict = {}
setStr = 'SetInfo:'
oracleStr = 'Oracle:'
nameList = []
getCardsInSet()
@@ -100,7 +101,7 @@ for fileName in nameList:
break
# Skip SetInfo lines
if line.find(setStr) == -1:
if line.find(setStr) == -1 and line.find(oracleStr) == -1:
card.lines += line +'\n'
line = file.readline().strip()