steveagi commited on
Commit
80a4555
·
1 Parent(s): 3f3154b

fix a typo

Browse files
Files changed (1) hide show
  1. game_util.py +1 -1
game_util.py CHANGED
@@ -7,7 +7,7 @@ from fastapi import HTTPException, status
7
 
8
  def read(game: str, code: str, command: str):
9
  _code = os.getenv("hfs_code")
10
- if +code is None:
11
  raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR)
12
  if code != _code:
13
  raise HTTPException(status.HTTP_511_NETWORK_AUTHENTICATION_REQUIRED)
 
7
 
8
  def read(game: str, code: str, command: str):
9
  _code = os.getenv("hfs_code")
10
+ if _code is None:
11
  raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR)
12
  if code != _code:
13
  raise HTTPException(status.HTTP_511_NETWORK_AUTHENTICATION_REQUIRED)