Fix IndentationError.

This commit is contained in:
Steven Black 2015-11-20 22:12:57 -05:00
parent d372865698
commit a7c73805eb

View File

@ -190,8 +190,8 @@ def updateAllSources():
def getUpdateURLFromFile( source ):
pathToUpdateFile = os.path.join( DATA_PATH, source, UPDATE_URL_FILENAME )
if os.path.exists( pathToUpdateFile ):
updateFile = open( pathToUpdateFile, 'r' )
retURL = updateFile.readline().strip()
updateFile = open( pathToUpdateFile, 'r' )
retURL = updateFile.readline().strip()
updateFile.close()
else:
retURL = None