Skip to content

Commit 7915ade

Browse files
author
Patrick Meenan
authored
Merge pull request #26 from andrey-malets/fix-message-output
Add missing newline after status message.
2 parents 6e8d52d + 91a5932 commit 7915ade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsproxy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
def PrintMessage(msg):
6060
# Print the message to stdout & flush to make sure that the message is not
6161
# buffered when tsproxy is run as a subprocess.
62-
sys.stdout.write(msg)
62+
sys.stdout.write(msg + '\n')
6363
sys.stdout.flush()
6464

6565
########################################################################################################################
@@ -721,7 +721,7 @@ def main():
721721
# Parse any port mappings
722722
if options.mapports:
723723
SetPortMappings(options.mapports)
724-
724+
725725
if options.nodnscache:
726726
dns_cache = None
727727

0 commit comments

Comments
 (0)