refaim / wots

Wizard of the Search
MIT License
2 stars 0 forks source link

TypeError: string indices must be integers #39

Closed refaim closed 6 years ago

refaim commented 6 years ago

https://sentry.io/refaim/wots/issues/736719599/

TypeError: string indices must be integers
  File "C:/Users/Roma/Dropbox/Work/dev/wots/app/wizard.py", line 276, in onTimerTick
    self.searchResultsModel.fetchMore(None)
  File "C:/Users/Roma/Dropbox/Work/dev/wots/app/wizard.py", line 540, in fetchMore
    cardInfo = self.cardsFixer.fixCardInfo(rawCardInfo)
  File "card\fixer.py", line 42, in fixCardInfo
    cardInfo['name']['caption'] = CardUtils.get_primary_name(cardInfo['name']['caption'])

TypeError: string indices must be integers