Skip to content

Commit

Permalink
Create Python properties dictionary in __init__ not __cinit__
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcleod committed Dec 2, 2023
1 parent 294be25 commit 1eb2101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/jsbsim.pyx.in
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ cdef class FGFDMExec(FGJSBBase):
self.set_aircraft_path("aircraft")
self.set_systems_path("systems")

def __init__(self, *args, **kwargs):
# Dictionary cache of property nodes
self.properties = { }

Expand Down

0 comments on commit 1eb2101

Please sign in to comment.