formatting
This commit is contained in:
parent
38838a6d0b
commit
4d23a69e9a
@ -1260,7 +1260,7 @@ where id = ?
|
||||
|
||||
# unbury if the day has rolled over
|
||||
unburied = self.col.conf.get("lastUnburied", 0)
|
||||
if unburied < self.today or self.today+7 < unburied:
|
||||
if unburied < self.today or self.today + 7 < unburied:
|
||||
self.unburyCards()
|
||||
self.col.conf["lastUnburied"] = self.today
|
||||
|
||||
|
@ -201,7 +201,9 @@ Not currently enabled; click the sync button in the main window to enable."""
|
||||
def updateNetwork(self):
|
||||
self.prof["autoSync"] = self.form.syncOnProgramOpen.isChecked()
|
||||
self.prof["syncMedia"] = self.form.syncMedia.isChecked()
|
||||
self.mw.pm.set_auto_sync_media_minutes(self.form.autoSyncMedia.isChecked() and 15 or 0)
|
||||
self.mw.pm.set_auto_sync_media_minutes(
|
||||
self.form.autoSyncMedia.isChecked() and 15 or 0
|
||||
)
|
||||
if self.form.fullSync.isChecked():
|
||||
self.mw.col.modSchema(check=False)
|
||||
self.mw.col.setMod()
|
||||
|
Loading…
Reference in New Issue
Block a user