Skip to content

Commit

Permalink
fix for adubkov#114
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry.duka committed Jan 29, 2021
1 parent 18f546d commit 464a507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyzabbix/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import struct
import re
import functools
import ssl
import sslpsk

# For python 2 and 3 compatibility
try:
Expand Down Expand Up @@ -466,8 +468,6 @@ def send(self, metrics):


class PyZabbixPSKSocketWrapper:
import ssl
import sslpsk
"""Implements ssl.wrap_socket with PSK instead of certificates.
Proxies calls to a `socket` instance.
Expand Down

0 comments on commit 464a507

Please sign in to comment.