Skip to content

Commit

Permalink
Improved platform check
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Roth committed Mar 17, 2018
1 parent 58bef5c commit da50876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lokilogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, no_log_file, log_file, hostname, remote_host, remote_port, cs
self.only_relevant = only_relevant
self.debug = debug
self.caller = caller
if platform == "windows":
if "windows" in platform.lower():
self.linesep = "\r\n"

# Colorization ----------------------------------------------------
Expand Down

0 comments on commit da50876

Please sign in to comment.