Skip to content

Commit

Permalink
remove semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
xinghengwang committed Oct 31, 2024
1 parent 25c6130 commit b43cc3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions moesifdjango/client_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ def __init__(self):
def is_ip(cls, value):
# https://docs.python.org/3/library/ipaddress.html#ipaddress.ip_address
try:
ip = ipaddress.ip_address(value);
return True;
ip = ipaddress.ip_address(value)
return True
except ValueError:
return False;
return False

def get_client_ip_from_x_forwarded_for(self, value):
try:
Expand Down

0 comments on commit b43cc3c

Please sign in to comment.