XVMX / vmbot

Jabberbot based chatbot
GNU General Public License v3.0
2 stars 5 forks source link

price broken #42

Closed SwimlanesOnline closed 9 years ago

SwimlanesOnline commented 9 years ago

One of the latest patches broke "price".

* cmd = price An error happened while processing a message ("price zyd") from xyz@conference.example.com/abc: Traceback (most recent call last): File "vmbot/jabberbot.py", line 579, in execute_and_send reply = self.commands[cmd](mess, args) File "vmbot/utils.py", line 137, in price sellvolume, sellprice = self.getPriceVolume('sell', regionID, systemName, typeID) File "vmbot/utils.py", line 57, in getPriceVolume 'Authorization' : 'Bearer ' + self.getAccessToken(), File "vmbot/utils.py", line 21, in getAccessToken getAccessToken.access_token NameError: global name 'getAccessToken' is not defined " Traceback (most recent call last): File "vmbot/jabberbot.py", line 579, in execute_and_send reply = self.commands[cmd](mess, args) File "vmbot/utils.py", line 137, in price sellvolume, sellprice = self.getPriceVolume('sell', regionID, systemName, typeID) File "vmbot/utils.py", line 57, in getPriceVolume 'Authorization' : 'Bearer ' + self.getAccessToken(), File "vmbot/utils.py", line 21, in getAccessToken getAccessToken.access_token NameError: global name 'getAccessToken' is not defined * props = [u'jabber:client']