Explorar el Código

Update 'src/plugins/the_house.py'

P Y T H O N I C
iramo94 hace 6 años
padre
commit
99176d386f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/plugins/the_house.py

+ 1 - 1
src/plugins/the_house.py

@@ -20,6 +20,6 @@ def the_house(db, msg):
         if x.lower() != y:
             return RollbotResponse(msg, failure=RollbotFailure.INVALID_ARGUMENTS)
 	
-	thehouse = housetop + msg.args().last() + housebot
+	thehouse = housetop + msg.args()[-1] + housebot
 
     return RollbotResponse(msg, txt=thehouse)