diff --git a/src/common/connection.py b/src/common/connection.py
index 05a6227f7e98d68c0b011e5e87576f179aa6dcf7..0babbdd5d92756b33551775f63115ba5bcfea1b9 100644
--- a/src/common/connection.py
+++ b/src/common/connection.py
@@ -83,7 +83,7 @@ def get_os_info():
 				child_stdout.close()
 				child_stdin.close()
 				# some distros put n/a in places so remove them
-				pattern = sre.compile(r' n/a', sre.IGNORE_CASE)
+				pattern = sre.compile(r' n/a', sre.IGNORECASE)
 				output = sre.sub(pattern, '', output)
 				return output
 		# lsb_release executable not available, so parse files