jhao 7 лет назад
Родитель
Сommit
2591918c87
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Util/GetConfig.py

+ 2 - 2
Util/GetConfig.py

@@ -53,14 +53,13 @@ class GetConfig(object):
             password = None
             password = None
         return password
         return password
 
 
-
     @LazyProperty
     @LazyProperty
     def proxy_getter_functions(self):
     def proxy_getter_functions(self):
         return self.config_file.options('ProxyGetter')
         return self.config_file.options('ProxyGetter')
 
 
     @LazyProperty
     @LazyProperty
     def host_ip(self):
     def host_ip(self):
-        return self.config_file.get('API','ip')
+        return self.config_file.get('API', 'ip')
 
 
     @LazyProperty
     @LazyProperty
     def host_port(self):
     def host_port(self):
@@ -70,6 +69,7 @@ class GetConfig(object):
     def processes(self):
     def processes(self):
         return int(self.config_file.get('API', 'processes'))
         return int(self.config_file.get('API', 'processes'))
 
 
+
 config = GetConfig()
 config = GetConfig()
 
 
 if __name__ == '__main__':
 if __name__ == '__main__':