Fixed TypeError

This commit is contained in:
Dimitris Zlatanidis 2023-05-19 13:39:04 +03:00
parent 5268d373fb
commit b8f544b44f
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@
Fixed:
- Case-sensitive with commands find and search
- For combination options with --repository= and --directory=
- TypeError for repo-info command #171
4.8.4 - 14/05/2023
Added:

View file

@ -62,7 +62,7 @@ class RepoInfo(Configs):
LastRepoUpdated.date).where(
LastRepoUpdated.repo == repository).first()
if date[0] is None:
if date is None:
date: tuple = ('',)
return date[0]