Commit d09a505c authored by Brice Videau's avatar Brice Videau
Browse files

Move import.

parent f9fd049e
......@@ -363,7 +363,7 @@ class Object:
res = ccs_object_get_type(h, ct.byref(t))
if t.value == ccs_object_type.RNG:
from .rng import Rng
return Rng.from_handle(h)
raise Error(ccs_error.INVALID_OBJECT)
from .rng import Rng
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment