From 1c8a67333eb7e9a9d286b1595fd85f3d65a805b0 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Sat, 21 Nov 2020 15:15:30 -0500 Subject: [PATCH] Fraction: Update Python __repr__ --- bindings/python/openshot.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/openshot.i b/bindings/python/openshot.i index b2c62c74c..8284d1d06 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(); } }