Commit 4df1cc85 authored by intrigeri's avatar intrigeri

onion-grater: fix rate limiting of how often we try to connect to tor

commit 2a940428 tried to implement this rate
limiting, but the call to time.sleep(1) always raises an exception:

  NameError: name 'time' is not defined
parent b69663b4
......@@ -138,6 +138,7 @@ import stem.connection
import struct
import sys
import textwrap
import time
import yaml
DEFAULT_LISTEN_ADDRESS = 'localhost'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment