change env var name

This commit is contained in:
Damien Elmes 2013-10-23 16:04:44 +09:00
parent 82a54c780f
commit 1fe04a29b2

View File

@ -896,7 +896,7 @@ Difference to correct time: %s.""") % diffText
", ".join([customRepr(x) for x in args])) ", ".join([customRepr(x) for x in args]))
lpath = re.sub("\.anki2$", ".log", self.pm.collectionPath()) lpath = re.sub("\.anki2$", ".log", self.pm.collectionPath())
open(lpath, "ab").write(buf.encode("utf8") + "\n") open(lpath, "ab").write(buf.encode("utf8") + "\n")
if os.environ.get("LOG"): if os.environ.get("ANKIDEV"):
print buf print buf
# Schema modifications # Schema modifications