Skip to content

Commit

Permalink
Return standard items array from SodaMachineRequest.
Browse files Browse the repository at this point in the history
  • Loading branch information
scelis committed Dec 24, 2009
1 parent 197c5f1 commit dbae222
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/kol/request/SodaMachineRequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
from kol.util import ParseResponseUtils

class SodaMachineRequest(GenericRequest):
"Uses the soda machine in the rumpus room"
"Uses the soda machine in the clan rumpus room."
def __init__(self, session):
super(SodaMachineRequest, self).__init__(session)
self.url = session.serverURL + 'clan_rumpus.php?action=click&spot=3&furni=1'

def parseResponse(self):
response = ParseResponseUtils.parseItemsReceived(self.responseText, self.session)

self.responseData = response
self.responseData["items"] = ParseResponseUtils.parseItemsReceived(self.responseText, self.session)

0 comments on commit dbae222

Please sign in to comment.