Fix a reference to sys.version_info.major that broke Python 2.6.
[super-star-trek.git] / sst.py
diff --git a/sst.py b/sst.py
index caf6b6e855b084b4148c1bf731a4d072f1bd02bd..a5766646964608a12729b559b89f40a62fce50a1 100644 (file)
--- a/sst.py
+++ b/sst.py
@@ -3066,7 +3066,7 @@ def iostart():
     "for some recent versions of python2, the following enables UTF8"
     "for the older ones we probably need to set C locale, and the python3"
     "has no problems at all"
-    if sys.version_info.major < 3:
+    if sys.version_info[0] < 3:
        import locale
        locale.setlocale(locale.LC_ALL, "")
     gettext.bindtextdomain("sst", "/usr/local/share/locale")
@@ -5230,7 +5230,7 @@ def thaw():
     return False
 
 # I used <http://www.memory-alpha.org> to find planets
-# with references in ST:TOS.  Eath and the Alpha Centauri
+# with references in ST:TOS.  Earth and the Alpha Centauri
 # Colony have been omitted.
 # 
 # Some planets marked Class G and P here will be displayed as class M