Skip to content

Commit

Permalink
Remove crypto import
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Feb 25, 2024
1 parent 6d43520 commit 1847466
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@
from http.server import BaseHTTPRequestHandler, HTTPServer, ThreadingHTTPServer
from socketserver import ThreadingMixIn

# Required module: pycryptodome
try:
import Crypto
from Crypto.Cipher import AES # PyCrypto
except ImportError:
Crypto = AES = None
import pyaes # https://github.com/ricmoo/pyaes

# Terminal color capability for all platforms
try:
from colorama import init
Expand All @@ -67,7 +59,7 @@

import tinytuya

BUILD = "t9"
BUILD = "t10"

# Defaults
APIPORT = 8888
Expand Down

0 comments on commit 1847466

Please sign in to comment.