mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-09-24 22:05:14 +01:00
Fix IndentationError.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user