Skip to content

Commit

Permalink
Issue #85: Remove Python 2.7 support on Amazon-dash v2.0.0 (fixed Uni…
Browse files Browse the repository at this point in the history
…on class import)
  • Loading branch information
Nekmo committed Sep 4, 2018
1 parent 3b5a937 commit 5b2490c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions amazon_dash/scan.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import logging
from typing import Callable, Any
from scapy.packet import Packet
from scapy.sendrecv import sniff
from typing import Callable, Any, Union

from amazon_dash.exceptions import SocketPermissionError

logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
from scapy.all import *

try:
PermissionError
Expand Down

0 comments on commit 5b2490c

Please sign in to comment.