Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

1.1.1 #11

Merged
merged 3 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion orbis_unum/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__author__ = "Richard Mwewa"
__about__ = "https://about.me/rly0nheart"
__version__ = "1.1.0"
__version__ = "1.1.1"

__description__ = """# Orbis Unum
> 🌍 IP Geolocator & Coordinate Mapper 📍"""
Expand Down
5 changes: 3 additions & 2 deletions orbis_unum/orbis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import asyncio
import os
from datetime import datetime

Expand Down Expand Up @@ -26,7 +27,7 @@


@app.route("/index", methods=["GET", "POST"])
async def input_coordinates():
def input_coordinates():
"""
The route for inputting coordinates in the web variant of Orbis.
It either renders a form for inputting coordinates or processes
Expand All @@ -51,7 +52,7 @@ async def input_coordinates():
# key (with the location data) and an 'ip_address' key (with a None value as IP address is not available)
location_data[:] = [
{
"location": await get_reverse_geolocation_data(coordinates),
"location": asyncio.run(get_reverse_geolocation_data(coordinates)),
"ip_address": None,
}
for coordinates in coordinates_list
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include = [
{ path = "orbis/templates/index.html" }
]
name = "orbis-unum"
version = "1.1.0"
version = "1.1.1"
description = "🌍 IP Geolocator & Coordinate Mapper 📍"
authors = ["Richard Mwewa <rly0nheart@duck.com>"]
readme = "README.md"
Expand Down