Merge pull request #9 from ryanturner/master
Fixed a typo, made error messages consistent.
This commit is contained in:
commit
b62af8020b
6
ipsc.py
6
ipsc.py
@ -27,14 +27,14 @@ import socket
|
|||||||
try:
|
try:
|
||||||
from ipsc.ipsc_logger import logger
|
from ipsc.ipsc_logger import logger
|
||||||
except ImportError:
|
except ImportError:
|
||||||
sys.exit('System logger configuraiton not found or invalid')
|
sys.exit('System logger configuration not found or invalid')
|
||||||
|
|
||||||
# Import configuration and informational data structures
|
# Import configuration and informational data structures
|
||||||
#
|
#
|
||||||
try:
|
try:
|
||||||
from ipsc.my_ipsc_config import NETWORK
|
from ipsc.my_ipsc_config import NETWORK
|
||||||
except ImportError:
|
except ImportError:
|
||||||
sys.exit('Configuration file not found, or not valid formatting')
|
sys.exit('Configuration file not found or not valid formatting')
|
||||||
|
|
||||||
# Import IPSC message types and version information
|
# Import IPSC message types and version information
|
||||||
#
|
#
|
||||||
@ -627,4 +627,4 @@ if __name__ == '__main__':
|
|||||||
else:
|
else:
|
||||||
networks[ipsc_network] = UnauthIPSC(ipsc_network)
|
networks[ipsc_network] = UnauthIPSC(ipsc_network)
|
||||||
reactor.listenUDP(NETWORK[ipsc_network]['LOCAL']['PORT'], networks[ipsc_network])
|
reactor.listenUDP(NETWORK[ipsc_network]['LOCAL']['PORT'], networks[ipsc_network])
|
||||||
reactor.run()
|
reactor.run()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user