mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-07 13:02:27 +02:00
Fix IndentationError.
This commit is contained in:
parent
d372865698
commit
a7c73805eb
@ -190,8 +190,8 @@ def updateAllSources():
|
|||||||
def getUpdateURLFromFile( source ):
|
def getUpdateURLFromFile( source ):
|
||||||
pathToUpdateFile = os.path.join( DATA_PATH, source, UPDATE_URL_FILENAME )
|
pathToUpdateFile = os.path.join( DATA_PATH, source, UPDATE_URL_FILENAME )
|
||||||
if os.path.exists( pathToUpdateFile ):
|
if os.path.exists( pathToUpdateFile ):
|
||||||
updateFile = open( pathToUpdateFile, 'r' )
|
updateFile = open( pathToUpdateFile, 'r' )
|
||||||
retURL = updateFile.readline().strip()
|
retURL = updateFile.readline().strip()
|
||||||
updateFile.close()
|
updateFile.close()
|
||||||
else:
|
else:
|
||||||
retURL = None
|
retURL = None
|
||||||
|
Loading…
Reference in New Issue
Block a user