From 6911bf9514ff830d1c01f063ab95c332d6c7f73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Thu, 7 Jul 2022 07:23:20 +0200 Subject: [PATCH] removed modules that are not needed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/main.py b/main.py index 0ac6445..50383fa 100644 --- a/main.py +++ b/main.py @@ -1,14 +1,10 @@ from base64 import b16decode import time from datetime import datetime - -from requests import request try: from rpi_ws281x import * import RPi.GPIO as GPIO - import json - from argparse import ArgumentParser - import paho.mqtt.client as mqtt + import paho.mqtt.client as mqtt except ImportError: print('Some modules are missing. Try to install them with "pip3 install -r requirements.txt"') exit()