diff --git a/contrib/scripts/sip_to_pjsip/astconfigparser.py b/contrib/scripts/sip_to_pjsip/astconfigparser.py index a6d88c7b75..dc79e80321 100644 --- a/contrib/scripts/sip_to_pjsip/astconfigparser.py +++ b/contrib/scripts/sip_to_pjsip/astconfigparser.py @@ -203,7 +203,7 @@ def remove_comment(line, is_comment): if match: # the end of where the real string is is where the comment starts line = line[0:(match.end()-1)] - elif line.startswith(";"): + if line.startswith(";"): # if the line is actually a comment just ignore it all line = ""