From 1fe04a29b2ca85f77dfa6a29d272dfa2615a73c9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 23 Oct 2013 16:04:44 +0900 Subject: [PATCH] change env var name --- aqt/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/main.py b/aqt/main.py index 425080987..46ff38327 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -896,7 +896,7 @@ Difference to correct time: %s.""") % diffText ", ".join([customRepr(x) for x in args])) lpath = re.sub("\.anki2$", ".log", self.pm.collectionPath()) open(lpath, "ab").write(buf.encode("utf8") + "\n") - if os.environ.get("LOG"): + if os.environ.get("ANKIDEV"): print buf # Schema modifications