commit b5c164147bdb74a3242740be48894bbb0e9f4598
parent 4904874a453f0bf01b0fd502384e06f1e430790d
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 8 Dec 2012 22:35:26 +0100
initialize localization earlier to avoid issues
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plint_irc.py b/plint_irc.py
@@ -101,6 +101,7 @@ if len(sys.argv) == 4:
pos = 0
+localization.init_locale()
f = open(sys.argv[2], 'r')
for line in f.readlines():
pos += 1
@@ -115,7 +116,6 @@ f.close()
print("ready", file=sys.stderr)
def run():
- localization.init_locale()
global lbuf
while True:
line = sys.stdin.readline()