unbury on open for now

This commit is contained in:
Damien Elmes 2013-09-04 02:31:10 +09:00
parent 0c2a1fe19e
commit a2463eb67d

View File

@ -57,6 +57,8 @@ class _Collection(object):
d += datetime.timedelta(hours=4) d += datetime.timedelta(hours=4)
self.crt = int(time.mktime(d.timetuple())) self.crt = int(time.mktime(d.timetuple()))
self.sched = Scheduler(self) self.sched = Scheduler(self)
if not self.conf.get("newBury", False):
self.sched.unburyCards()
def name(self): def name(self):
n = os.path.splitext(os.path.basename(self.path))[0] n = os.path.splitext(os.path.basename(self.path))[0]