Merge pull request #26 from andrey-malets/fix-message-output
Add missing newline after status message.
diff --git a/tsproxy.py b/tsproxy.py
index 45e4e57..52c73d3 100644
--- a/tsproxy.py
+++ b/tsproxy.py
@@ -59,7 +59,7 @@
def PrintMessage(msg):
# Print the message to stdout & flush to make sure that the message is not
# buffered when tsproxy is run as a subprocess.
- sys.stdout.write(msg)
+ sys.stdout.write(msg + '\n')
sys.stdout.flush()
########################################################################################################################
@@ -721,7 +721,7 @@
# Parse any port mappings
if options.mapports:
SetPortMappings(options.mapports)
-
+
if options.nodnscache:
dns_cache = None