You are missing a closing paren on this line:
connector.execute('''update DATAGERMANY set title_abbreviation_langid=? , title_reliability_langid=? where id_db == ? ''',(lan[-2], lan[-1])) # added paren here
I added a closing paren, your code should be ok now.
4
solved Getting Syntax Error where none was before