@@ -2251,6 +2251,10 @@ class PlanetUpScript(object):
# 10202 #3 Home of Bugz Class M, Earth Type No Citadel]
if '#' in line:
# Ok, we have a planet detail line.
+ # There's an extra T when the planet is maxed out.
+ if line[7] = 'T':
+ line = line[:7] + ' ' + line[8:]
+
detail, _, _ = line.partition('Class')
detail = detail.strip() # Sector #X Name of planet
sector, number, name = re.split(r'\s+', detail, 2)