Update cura/API/Account.py

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Nino van Hooff 2020-05-19 14:14:10 +02:00 committed by GitHub
parent 9e30efb615
commit 050878bbfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,7 @@ class Account(QObject):
@pyqtSlot()
@pyqtSlot(bool)
def sync(self, user_initiated=False):
def sync(self, user_initiated: bool = False) -> None:
if user_initiated:
self._setManualSyncEnabled(False)