diff options
Diffstat (limited to 'fullnarp.py')
-rw-r--r-- | fullnarp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fullnarp.py b/fullnarp.py index c03de45..b57c185 100644 --- a/fullnarp.py +++ b/fullnarp.py | |||
@@ -70,7 +70,7 @@ async def notify_clients(): | |||
70 | message = { | 70 | message = { |
71 | "property": "fullnarp", | 71 | "property": "fullnarp", |
72 | "current_version": newest_version, | 72 | "current_version": newest_version, |
73 | "version_url": fullnarp_path + "versions/fullnarp_" + str(newest_version) + ".json", | 73 | "version_url": fullnarp_path + "versions/fullnarp_" + str(newest_version).zfill(5) + ".json", |
74 | "data": current_version, | 74 | "data": current_version, |
75 | } | 75 | } |
76 | 76 | ||
@@ -122,7 +122,7 @@ async def handle_client(websocket): | |||
122 | message = { | 122 | message = { |
123 | "property": "fullnarp", | 123 | "property": "fullnarp", |
124 | "current_version": newest_version, | 124 | "current_version": newest_version, |
125 | "version_url": fullnarp_path + "versions/fullnarp_" + str(newest_version) + ".json", | 125 | "version_url": fullnarp_path + "versions/fullnarp_" + str(newest_version).zfill(5) + ".json", |
126 | "data": current_version, | 126 | "data": current_version, |
127 | } | 127 | } |
128 | await websocket.send(json.dumps(message)) | 128 | await websocket.send(json.dumps(message)) |