fix: Fix armor description
This commit is contained in:
parent
11e2ee5220
commit
0bfb58923a
1 changed files with 2 additions and 2 deletions
|
|
@ -347,7 +347,7 @@ def searchNames(name, pbar, context):
|
|||
responseList = []
|
||||
responseList.append(translateGPT(name['name'], newContext, False))
|
||||
if 'Armors' in context:
|
||||
responseList.append(translateGPT(name['description'], newContext, False))
|
||||
responseList.append(translateGPT(name['description'], newContext, True))
|
||||
|
||||
|
||||
# Extract all our translations in a list from response
|
||||
|
|
@ -358,7 +358,7 @@ def searchNames(name, pbar, context):
|
|||
# Set Data
|
||||
name['name'] = responseList[0].strip('.')
|
||||
if 'Armors' in context:
|
||||
responseList.append(translateGPT(name['description'], newContext, False))
|
||||
name['description'] = responseList[1]
|
||||
pbar.update(1)
|
||||
|
||||
return tokens
|
||||
|
|
|
|||
Loading…
Reference in a new issue