This commit is contained in:
Noah Levitt 2017-11-13 15:07:47 -08:00
parent f5351a43df
commit ef590a2fec
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ before_install:
- ping -c2 trough
install:
- pip install . pytest requests warcio
- pip install . pytest requests warcio mock
before_script:
- ps ww -fHe

View File

@ -59,8 +59,8 @@ class TroughClient(object):
self._promoter_thread = None
if promotion_interval:
self._promoter_thread = threading.Thread(
target=self._promotrix, name='TroughClient-promoter',
daemon=True)
target=self._promotrix, name='TroughClient-promoter')
self._promoter_thread.setDaemon(True)
self._promoter_thread.start()
def _promotrix(self):