mirror of
https://github.com/solero/houdini.git
synced 2024-11-22 05:27:23 +00:00
Replace double with single quotes
This commit is contained in:
parent
c3b724c6a9
commit
18d26a5f5a
@ -282,8 +282,8 @@ class RoomWaddle(db.Model):
|
|||||||
|
|
||||||
seat_id = self.penguins.index(None)
|
seat_id = self.penguins.index(None)
|
||||||
self.penguins[seat_id] = p
|
self.penguins[seat_id] = p
|
||||||
await p.send_xt("jw", seat_id)
|
await p.send_xt('jw', seat_id)
|
||||||
await p.room.send_xt("uw", self.id, seat_id, p.safe_name)
|
await p.room.send_xt('uw', self.id, seat_id, p.safe_name)
|
||||||
|
|
||||||
p.waddle = self
|
p.waddle = self
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ class RoomWaddle(db.Model):
|
|||||||
async def remove_penguin(self, p):
|
async def remove_penguin(self, p):
|
||||||
seat_id = self.get_seat_id(p)
|
seat_id = self.get_seat_id(p)
|
||||||
self.penguins[seat_id] = None
|
self.penguins[seat_id] = None
|
||||||
await p.room.send_xt("uw", self.id, seat_id)
|
await p.room.send_xt('uw', self.id, seat_id)
|
||||||
|
|
||||||
p.waddle = None
|
p.waddle = None
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ class RoomWaddle(db.Model):
|
|||||||
for seat_id, penguin in enumerate(self.penguins):
|
for seat_id, penguin in enumerate(self.penguins):
|
||||||
if penguin:
|
if penguin:
|
||||||
self.penguins[seat_id] = None
|
self.penguins[seat_id] = None
|
||||||
await penguin.room.send_xt("uw", self.id, seat_id)
|
await penguin.room.send_xt('uw', self.id, seat_id)
|
||||||
|
|
||||||
def get_seat_id(self, p):
|
def get_seat_id(self, p):
|
||||||
return self.penguins.index(p)
|
return self.penguins.index(p)
|
||||||
|
Loading…
Reference in New Issue
Block a user