Browse Source

Merge pull request #95 from hymzhek/patch-1

Update GetConfig.py
J_hao104 8 years ago
parent
commit
70ef91f85c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Util/GetConfig.py

+ 1 - 1
Util/GetConfig.py

@@ -55,7 +55,7 @@ class GetConfig(object):
 
     @LazyProperty
     def host_port(self):
-        return self.config_file.get('HOST', 'port')
+        return int(self.config_file.get('HOST', 'port'))
 
 if __name__ == '__main__':
     gg = GetConfig()