Plugins: fix port option for TCP and OSC.

Esse commit está contido em:
jfrey
2015-03-09 13:05:46 +01:00
commit 4e87460acd
2 arquivos alterados com 2 adições e 2 exclusões
+1 -1
Ver Arquivo
@@ -27,7 +27,7 @@ class StreamerOSC(plugintypes.IPluginExtended):
if len(self.args) > 0:
self.ip = self.args[0]
if len(self.args) > 1:
self.port = self.args[1]
self.port = int(self.args[1])
if len(self.args) > 2:
self.address = self.args[2]
# init network
+1 -1
Ver Arquivo
@@ -48,7 +48,7 @@ class StreamerTCPServer(plugintypes.IPluginExtended):
if len(self.args) > 0:
self.ip = self.args[0]
if len(self.args) > 1:
self.port = self.args[1]
self.port = int(self.args[1])
# init network
print "Selecting raw TCP streaming. IP: ", self.ip, ", port: ", self.port