mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2025-12-06 07:01:37 +01:00
fix: allow uppercase gbx ending
This commit is contained in:
@@ -234,7 +234,7 @@ class DataTable():
|
|||||||
|
|
||||||
def replay_from_path(fullpath, uploader=None):
|
def replay_from_path(fullpath, uploader=None):
|
||||||
|
|
||||||
if not fullpath.endswith(".gbx"):
|
if not fullpath.lower().endswith(".gbx"):
|
||||||
raise ValueError("Path must be a .gbx file")
|
raise ValueError("Path must be a .gbx file")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user