Ver Fonte

fix some doubts

asd há 6 anos atrás
pai
commit
ca440fdc77
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      handler/configHandler.py
  2. 1 1
      setting.py

+ 1 - 1
handler/configHandler.py

@@ -48,7 +48,7 @@ class ConfigHandler(object):
 
     @LazyProperty
     def verifyUrl(self):
-        return os.getenv("VERIFY_URL", setting.VERIFY_RUL)
+        return os.getenv("VERIFY_URL", setting.VERIFY_URL)
 
     @LazyProperty
     def verifyTimeout(self):

+ 1 - 1
setting.py

@@ -60,7 +60,7 @@ PROXY_FETCHER = [
 ]
 
 # ############# proxy validator #################
-VERIFY_RUL = "http://www.baidu.com"
+VERIFY_URL = "http://www.baidu.com"
 
 VERIFY_TIMEOUT = 10