From ea1684d4f4f79141c2a46f748669811ad538e6c7 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 19 Jan 2023 21:29:52 +0100 Subject: [PATCH] use when calling renpy --- rttk/run.py | 2 +- tl2pot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rttk/run.py b/rttk/run.py index 94e972a..9c55438 100644 --- a/rttk/run.py +++ b/rttk/run.py @@ -33,7 +33,7 @@ except: def renpy(args): global in_renpy - command = ['renpy.sh'] + command = ['$RENPY_DIR/renpy.sh'] if in_renpy: # cf. launcher/game/project.rpy command = [sys.executable, '-EO', sys.argv[0]] diff --git a/tl2pot.py b/tl2pot.py index 5cb74e0..e813779 100755 --- a/tl2pot.py +++ b/tl2pot.py @@ -68,7 +68,7 @@ def tl2pot(projectpath, outfile='game.pot'): occurrences[s['text']] = occurrences.get(s['text'], 0) + 1 out = io.open(outfile, 'w', encoding='utf-8') - out.write(ur"""msgid "" + out.write(r"""msgid "" msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n"