Skip to content

Commit

Permalink
Consistently use 2-space indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopper262 authored May 26, 2024
1 parent 3824729 commit e0b4fa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Roomd.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,11 @@ def remoteCreateGameResult(self, rs, server_id, verb):
return

try:
ipaddress = socket.gethostbyname(rs[0][0])
ipaddress = socket.gethostbyname(rs[0][0])
except:
log.msg("Can't resolve remote hub address anymore from host %s" % rs[0][0])
self.transport.loseConnection()
return
log.msg("Can't resolve remote hub address anymore from host %s" % rs[0][0])
self.transport.loseConnection()
return

self.game_info.host = ipaddress
self.game_info.port = rs[0][1]
Expand Down

0 comments on commit e0b4fa9

Please sign in to comment.