Loading

Paste #plybnixxk

  1.     def get_name_substr(self):
  2.         # relies on name being in format "Foo [Bar]" for Name [Type Suffix]
  3.         name = self.title.decode('utf-8').split('[')[0]
  4.         # enforce a space if name is not empty
  5.         if len(name) is not 0:
  6.             name = name + ' '
  7.         return name

Comments