FIRE-3974; Don't let newlines sneak into LL_CHANNEL.

Nicky 2011-12-12 21:33:13 +01:00
parent 3bd754e177
commit affb24b4f6
1 changed files with 4 additions and 0 deletions

View File

@ -324,6 +324,10 @@ def main():
VIEWER_CHANNEL = viewer_channel
SERVER_CHANNEL = server_channel
# ND: Get rid of newlines that can sneak in on windows. See FIRE-3974
VIEWER_CHANNEL = VIEWER_CHANNEL.replace( '\r', '' )
VIEWER_CHANNEL = VIEWER_CHANNEL.replace( '\n', '' )
# Iterate through all of the files in the map, and apply the
# substitution filters
for filename in re_map.keys():