change env var name
This commit is contained in:
parent
82a54c780f
commit
1fe04a29b2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user