diff --git a/epsagon/trace.py b/epsagon/trace.py index e4e60d91..b939a528 100755 --- a/epsagon/trace.py +++ b/epsagon/trace.py @@ -62,7 +62,7 @@ def get_thread_id(): Return current thread id :return: thread id """ - return threading.currentThread().ident + return threading.current_thread().ident def create_transport(collector_url, token):