New UDP and console port allocation system for IOU. Fixes duplicated

port issues.
This commit is contained in:
grossmj
2014-05-06 16:58:22 -06:00
parent 62da0a5ec2
commit 51c1f15853
3 changed files with 67 additions and 36 deletions

View File

@ -111,6 +111,12 @@ def main():
# (UNIX/Linux only)
locale_check()
try:
os.getcwd()
except FileNotFoundError:
log.critical("the current working directory doesn't exist")
return
server = Server(options.host,
options.port,
ipc=options.ipc)