diff --git a/README.md b/README.md index 864de83..73d5b2e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# KSP AutoLoc 0.3 +# KSP AutoLoc 0.3.1 This script is meant to replace boring manual text replacement tasks for implementing localization to non-localized-yet part mods in KSP 1.3+ diff --git a/autoloc.py b/autoloc.py index be98684..f5b5de0 100644 --- a/autoloc.py +++ b/autoloc.py @@ -10,14 +10,20 @@ # # Also it will NOT localize ModuleManager patches, GUI commands or science definitions - you should do them manually. +# v0.3.1 +# print p -> print(p) +# line 24 +# raw_input() -> input() +# line 88 + import sys import os agency = False -ver = '0.3' +ver = '0.3.1' # Fail function def kaput(p): - print p + print(p) try: input("Press enter to continue") except SyntaxError: @@ -81,7 +87,7 @@ def question(q, default=True): prompt = " [Y/n] " while True: - choice = raw_input(q + prompt).lower() + choice = input(q + prompt).lower() if default != None and choice == '': return default elif choice in valid: