diff --git a/bindings/python/openshot.i b/bindings/python/openshot.i index b2c62c74..8284d1d0 100644 --- a/bindings/python/openshot.i +++ b/bindings/python/openshot.i @@ -148,7 +148,7 @@ } std::string __repr__() { std::ostringstream result; - result << $self->num << ":" << $self->den; + result << "Fraction(" << $self->num << ", " << $self->den << ")"; return result.str(); } }