diff options
Diffstat (limited to 'tftpy')
-rw-r--r-- | tftpy/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tftpy/__init__.py b/tftpy/__init__.py index 71b8e3d..7d5ea15 100644 --- a/tftpy/__init__.py +++ b/tftpy/__init__.py @@ -13,10 +13,10 @@ directly. The TftpClient and TftpServer classes can be reached through it. import sys -# Make sure that this is at least Python 2.7 -required_version = (2, 7) +# Make sure that this is at least Python 3 +required_version = (3, 0) if sys.version_info < required_version: - raise ImportError("Requires at least Python 2.7") + raise ImportError("Requires at least Python 3.0") from .TftpShared import * from . import TftpPacketTypes |