From 052fa245c6a0cc6151d52f62402266ed7625088a Mon Sep 17 00:00:00 2001 From: Inso <insomniak.fr@gmail.com> Date: Wed, 13 Jan 2016 07:34:52 +0100 Subject: [PATCH] Remove QtNetwork --- src/sakia/core/net/api/bma/access.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sakia/core/net/api/bma/access.py b/src/sakia/core/net/api/bma/access.py index f6d645e0..9324a382 100644 --- a/src/sakia/core/net/api/bma/access.py +++ b/src/sakia/core/net/api/bma/access.py @@ -1,5 +1,4 @@ from PyQt5.QtCore import QObject, pyqtSlot -from PyQt5.QtNetwork import QNetworkReply from ucoinpy.api import bma from .....tools.exceptions import NoPeerAvailable from ..... import __version__ @@ -259,7 +258,7 @@ class BmaAccess(QObject): :param class request: A bma request class calling for data :param dict req_args: Arguments to pass to the request constructor :param dict get_args: Arguments to pass to the request __get__ method - :return: The returned data if cached = True else return the QNetworkReply + :return: The returned data """ nodes = self.filter_nodes(request, self._network.synced_nodes) if len(nodes) > 0: @@ -293,7 +292,7 @@ class BmaAccess(QObject): :param req_args: Arguments to pass to the request constructor :param post_args: Arguments to pass to the request __post__ method :return: All nodes replies - :rtype: tuple of QNetworkReply + :rtype: tuple of aiohttp replies .. note:: If one node accept the requests (returns 200), the broadcast should be considered accepted by the network. -- GitLab