From 6e38295450dd31b09a8dd5398c034ad7707dfdd1 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 21 Apr 2018 01:07:38 +0200 Subject: [PATCH] Oh so THAT's what the float() was for! --- rsi/rsi.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rsi/rsi.py b/rsi/rsi.py index 7797915..ed71e63 100644 --- a/rsi/rsi.py +++ b/rsi/rsi.py @@ -180,7 +180,7 @@ def from_dmi(cls: Type[T], path: Union[str, Path]) -> "Rsi": if dmstate.frames != 1: # BYOND delays are in deciseconds, not seconds! - delay = dmstate.delay[y] / 10 + delay = float(dmstate.delay[y]) / 10 else: delay = 1.0 rsstate.delays[x].append(delay) diff --git a/setup.py b/setup.py index 9b6ccaf..1c0d5af 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name="RSI.py", - version="1.1.2", + version="1.1.3", description="A library for manipulation of the RSI format used in Space Station 14.", url="https://github.com/space-wizards/RSI.py", author="Pieter-Jan Briers",