use this:
background = lines[67].rpartition(“background “)[2].partition(”;”)[0]
backgroundTop = lines[68].rpartition(“backgroundTop “)[2].partition(”;”)[0]
backgroundBottom = lines[69].rpartition(“backgroundBottom “)[2].partition(”;”)[0]
use this:
background = lines[67].rpartition(“background “)[2].partition(”;”)[0]
backgroundTop = lines[68].rpartition(“backgroundTop “)[2].partition(”;”)[0]
backgroundBottom = lines[69].rpartition(“backgroundBottom “)[2].partition(”;”)[0]