Skip to content

Commit

Permalink
Merge pull request jhao104#95 from hymzhek/patch-1
Browse files Browse the repository at this point in the history
Update GetConfig.py
  • Loading branch information
jhao104 authored Dec 11, 2017
2 parents 0f03dd5 + 2f17fe1 commit 70ef91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/GetConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def host_ip(self):

@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()
Expand Down

0 comments on commit 70ef91f

Please sign in to comment.