Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Add logging to terminal and change to relative imports #166

Merged
merged 1 commit into from
Sep 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions guiscrcpy/ux/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

from qtpy.QtWidgets import QMainWindow

from guiscrcpy.network.network import NetworkManager
from guiscrcpy.platform.platform import System
from guiscrcpy.ux import Ui_NetworkUI
from ..network.network import NetworkManager
from ..platform.platform import System
from . import Ui_NetworkUI


class InterfaceNetwork(QMainWindow, Ui_NetworkUI):
Expand Down Expand Up @@ -113,4 +113,6 @@ def connect(self):

def refresh(self):
self.listView.clear()
self.listView.addItems(self.nm.map_network())
nm_map_network_devices = self.nm.map_network()
print("Detected IP Addresses:", nm_map_network_devices)
self.listView.addItems(nm_map_network_devices)