mypy: Fix new issues in misc.httpclient

This commit is contained in:
Florian Bruhin 2019-10-22 16:33:21 +02:00
parent 7e29ac7cb7
commit cd35df2e57
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class HTTPClient(QObject):
def __init__(self, parent=None):
super().__init__(parent)
self._nam = QNetworkAccessManager(self)
self._timers = {} # type: typing.Mapping[QNetworkReply, QTimer]
self._timers = {} # type: typing.MutableMapping[QNetworkReply, QTimer]
def post(self, url, data=None):
"""Create a new POST request.