Interesting error. I actually never tried my save/load system (it was all theoretical), so I’m glad to see that someone has. The easiest way to solve your problem would be to read the line, then find the length of the string and make a new string that consists of all but the last two characters.
loadFile = open("Quest1.sav", "r")
<i>...If you have a header, read it first, then test...</i>
# <i>Read in the line to a </i><i>temporary variable</i>
playerLevelTemp = readline()
# <i>Find the length</i>
playLevLength = len(playerLevelTemp)
# <i>Write new string without newline symbol</i>
playerLevel = playerLevelTemp[0:(playLevLength-2)]
# <i>Convert to integer and assign to global variable</i>
GameLogic.playerLevel = int(playerLevel)
<i>...Read in any more data you may have...</i>
This could be done with a bit less code by combining a few steps, but you get the idea. Let me know if it works.
Edit: BTW, if you’re curious, the code uses something called “slice indices” to write the new string. The line where the new string is written is saying “start at the beginning of the string (0) and read everything except the last two characters.”