...
This commit is contained in:
parent
0d32c1656a
commit
b9ae1fa429
1 changed files with 1 additions and 4 deletions
|
|
@ -369,10 +369,7 @@ def __init__(self, request_id: str, quiet: int, bypass: str) -> None:
|
|||
self.bypass_ok: Optional[bool] = None
|
||||
if bypass:
|
||||
byp = get_options().file_transfer_confirmation_bypass
|
||||
if byp:
|
||||
self.bypass_ok = encode_bypass(request_id, byp) == bypass
|
||||
else:
|
||||
self.bypass_ok = False
|
||||
self.bypass_ok = (encode_bypass(request_id, byp) == bypass) if byp else False
|
||||
self.files = {}
|
||||
self.last_activity_at = monotonic()
|
||||
self.send_acknowledgements = quiet < 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue