Merge pull request #194 from Abdullah-Gohar/windows-fix

Fixed windows client module not found error
pull/215/head
Ty Fiero 10 months ago committed by GitHub
commit e430ec727a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,10 @@
from ..base_device import Device
device = Device()
def main(server_url):
device.server_url = server_url
device.start()
if __name__ == "__main__":
main()

@ -123,6 +123,8 @@ def _run(
system_type = platform.system()
if system_type == "Darwin": # Mac OS
client_type = "mac"
elif system_type == "Windows": # Windows System
client_type = "windows"
elif system_type == "Linux": # Linux System
try:
with open('/proc/device-tree/model', 'r') as m:

Loading…
Cancel
Save