Spaces:
Sleeping
Sleeping
Commit
·
21e3ede
1
Parent(s):
8c36a5e
corected the return of get_fen() funciton
Browse files- routes/fen_generator.py +1 -1
routes/fen_generator.py
CHANGED
@@ -110,7 +110,7 @@ def gen_fen(result: dict, p: str, next_to_move : str):
|
|
110 |
position_fen = "/".join(fen_rows)
|
111 |
fen_notation = f"{position_fen}{next_to_move} - - 0 0"
|
112 |
|
113 |
-
return
|
114 |
|
115 |
except Exception as e:
|
116 |
print(f"Error in gen_fen: {e}")
|
|
|
110 |
position_fen = "/".join(fen_rows)
|
111 |
fen_notation = f"{position_fen}{next_to_move} - - 0 0"
|
112 |
|
113 |
+
return fen_notation
|
114 |
|
115 |
except Exception as e:
|
116 |
print(f"Error in gen_fen: {e}")
|