Collected all the local position stuff so it's specified once in uhd_modes.py.

Should probably add in a command-line parameter to specify this.
This commit is contained in:
Nick Foster
2010-10-23 18:00:58 -07:00
parent 0d4194ef84
commit 4d93b8f821
7 changed files with 21 additions and 11 deletions

View File

@@ -26,7 +26,8 @@ import modes_parse
from datetime import *
class modes_output_sbs1(modes_parse.modes_parse):
def __init__(self):
def __init__(self, mypos):
modes_parse.modes_parse.__init__(self, mypos)
self._s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self._s.bind(('', 30003))
self._s.listen(1)