mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-04 19:46:02 +02:00
Fix IndentationError.
This commit is contained in:
parent
d372865698
commit
a7c73805eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user