aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.py b/server.py
index 47bc931..f9165b1 100644
--- a/server.py
+++ b/server.py
@@ -29,7 +29,7 @@ def send_state():
global all_clients
state = {
"saves": os.listdir(SAVES_DIR),
- "pixels": unicorn.get_pixels()
+ "pixels": unicorn.get_pixels().tolist()
}
stateJson = json.dumps(state)
for client in all_clients:
@@ -106,4 +106,4 @@ def main():
if __name__=="__main__":
main()
- \ No newline at end of file
+