From 0042a51fce288b3df92d4b0fa8dad40547eafcf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 15 Feb 2024 02:41:22 +0100 Subject: [PATCH] removed unessesary code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/exampleReceiver.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/server/exampleReceiver.py b/server/exampleReceiver.py index fbc8614..e7ab88a 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -2,7 +2,6 @@ import time import sys import python_artnet as Artnet import os -from getmac import get_mac_address def get_eth0_ip(): try: @@ -13,18 +12,8 @@ def get_eth0_ip(): print(f"Error getting eth0 IP: {e}") exit -# def get_eth0_ip(): -# return "10.0.0.4" - -mac_address = str(get_mac_address(interface="eth0")) -mac_address_array = mac_address.split(":") - -# What DMX channels we want to listen to -dmxChannels = 512 - ### ArtNet Config ### artnetBindIp = get_eth0_ip() -artnetUniverse = 0 ### Art-Net Setup ### # Sets debug in Art-Net module.