fix tag replace typo in danbooru21_extract.py

1boy was being replaced with 'one girl', now it correctly gets replaced with 'one boy'.
This commit is contained in:
throwaway-mezzo-mix 2022-09-08 20:52:38 +02:00 committed by GitHub
parent d283e04b8b
commit b9452bc0fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def convert_tags_to_humantxt(input):
tars = tars.replace('6girls', 'six girls')
#Almost forgot about boys tags... I wonder if theres also for other entities?
tars = tars.replace('1boy', 'one girl')
tars = tars.replace('1boy', 'one boy')
tars = tars.replace('2boys', 'two boys')
tars = tars.replace('3boys', 'three boys')
tars = tars.replace('4boys', 'four boys')