Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci #113

Merged
merged 31 commits into from
Feb 4, 2024
Merged

Ci #113

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
logic
un33k committed Nov 22, 2023
commit 8d2b3e60ecb75d0ed710c7d27c5c98e5108e1625
2 changes: 1 addition & 1 deletion ipware/ip.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ def get_client_ip(
proxy_trusted_ips=None,
request_header_order=None,
):
leftmost = True if proxy_order == 'left-most' else False
leftmost = proxy_order == 'left-most'
proxy_count = proxy_count if proxy_count is not None else 0
proxy_list = proxy_trusted_ips if proxy_trusted_ips is not None else []
request_header_order = request_header_order if request_header_order is not None else getattr(settings, 'IPWARE_META_PRECEDENCE_ORDER', None)
Loading