lint fixes
This commit is contained in:
parent
59bbf02364
commit
4c6bd7b037
@ -15,7 +15,6 @@ from anki.utils import ids2str
|
||||
from aqt import AnkiQt, gui_hooks
|
||||
from aqt.qt import *
|
||||
from aqt.sound import av_player
|
||||
from aqt.sync import get_sync_status
|
||||
from aqt.toolbar import BottomBar
|
||||
from aqt.utils import askUser, getOnlyText, openLink, shortcut, showWarning, tr
|
||||
|
||||
|
@ -41,7 +41,7 @@ class FullSyncChoice(enum.Enum):
|
||||
def get_sync_status(mw: aqt.main.AnkiQt, callback: Callable[[SyncStatus], None]):
|
||||
auth = mw.pm.sync_auth()
|
||||
if not auth:
|
||||
return SyncStatus(required=SyncStatus.NO_CHANGES)
|
||||
return SyncStatus(required=SyncStatus.NO_CHANGES) # pylint:disable=no-member
|
||||
|
||||
def on_future_done(fut):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user