python-rpc: fix daemon import when there's a system dameon module

This commit is contained in:
Crypto City 2021-01-30 16:38:17 +00:00
parent 1c501ccfac
commit 1bce3a22e3

View File

@ -26,7 +26,7 @@
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
from daemon import Daemon
from .daemon import Daemon
def get_daemon_state(daemon):
state = {}