Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit c1b18bd

Browse files
authored
Merge pull request #22 from questionlp/develop
Correct the original_show_date format on info.retrieve_by_id
2 parents 397a8a7 + c8cba8b commit c1b18bd

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import setuptools
77

88
setuptools.setup(name="wwdtm",
9-
version="1.2.1.2",
9+
version="1.2.1.3",
1010
description="Wait Wait... Don't Tell Me! Data Access Library",
1111
long_description=("Provides show, host, scorekeeper, panelist and guest details "
1212
"from an instance of the Wait Wait... Don't Tell Me! Stats Page "

wwdtm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
from wwdtm import guest, host, location, panelist, scorekeeper, show
77

8-
VERSION = "1.2.1.2"
8+
VERSION = "1.2.1.3"

wwdtm/show/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def retrieve_core_info_by_id(show_id: int,
105105
original_date = utility.convert_id_to_date(repeat_show_id,
106106
database_connection)
107107
show_info["original_show_id"] = repeat_show_id
108-
show_info["original_show_date"] = original_date.isoformat()
108+
show_info["original_show_date"] = original_date
109109

110110
show_info["description"] = show_description
111111
show_info["notes"] = show_notes

wwdtm/show/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def convert_id_to_date(show_id: int,
9090
cursor.close()
9191

9292
if result:
93-
return result[0]
93+
return result[0].isoformat()
9494

9595
return None
9696
except ProgrammingError as err:

0 commit comments

Comments
 (0)