Skip to content

Commit d3032df

Browse files
authored
Merge pull request #3373 from pateljannat/fix/utils-format
style: format the ip-api.com request in utils
2 parents 2cfe9f3 + c077782 commit d3032df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lms/lms/utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2428,7 +2428,7 @@ def get_country_code():
24282428
try:
24292429
res = requests.get(
24302430
f"http://ip-api.com/json/{ip}",
2431-
timeout=3,
2431+
timeout=3,
24322432
)
24332433
data = res.json()
24342434
if data.get("status") != "fail":

0 commit comments

Comments
 (0)