Skip to content

Commit e677c72

Browse files
committed
fix
1 parent 52bf270 commit e677c72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

transifex/native/cds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
import time
44
from urllib.parse import urlencode
5-
from transifex.native.django.settings import TRANSIFEX_FETCH_TEMEOUT
5+
from transifex.native.django import settings as native_settings
66

77
import requests
88
from transifex.native.consts import (KEY_CHARACTER_LIMIT,
@@ -368,7 +368,7 @@ def retry_get_request(self, *args, **kwargs):
368368
retries_5xx = 0
369369
last_response_status = 202
370370
start_ts = time.time()
371-
max_total_seconds = TRANSIFEX_FETCH_TEMEOUT
371+
max_total_seconds = native_settings.TRANSIFEX_FETCH_TEMEOUT
372372

373373
while True:
374374
response = requests.get(*args, **kwargs)

0 commit comments

Comments
 (0)