diff --git a/setup.cfg b/setup.cfg index 91f4bba3b..0103796b1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,7 +45,7 @@ install_requires = flask-fs2[swift, s3]==0.7.27 flask-jwt-extended==4.7.1 flask-migrate==4.0.7 - flask-socketio==5.4.1 + flask-socketio==5.5.0 flask==3.1.0 gazu==0.10.21 gevent-websocket==0.10.1 @@ -70,7 +70,7 @@ install_requires = pysaml2==7.5.0 python-nomad==2.0.1 python-slugify==8.0.4 - python-socketio==5.11.4 + python-socketio==5.12.0 pytz==2024.2 redis==5.2.1 requests==2.32.3 @@ -97,7 +97,7 @@ dev = wheel test = - fakeredis==2.26.1 + fakeredis==2.26.2 mixer==7.2.2 pytest-cov==6.0.0 pytest==8.3.4 diff --git a/zou/app/services/preview_files_service.py b/zou/app/services/preview_files_service.py index 85b683190..f6fa74bb5 100644 --- a/zou/app/services/preview_files_service.py +++ b/zou/app/services/preview_files_service.py @@ -101,7 +101,7 @@ def get_preview_file_fps(project, entity=None): if entity is not None: entity_data = entity.get("data", {}) or {} if entity_data.get("fps", None) is not None: - fps = entity_data["fps"].replace(",", ".") + fps = str(entity_data["fps"]).replace(",", ".") return "%.3f" % float(fps)