changed def to class (durrrr)

develop
doomchild 2010-06-18 10:39:40 -05:00
parent 5b71ac7dae
commit 0b9605e08a
1 changed files with 1 additions and 1 deletions

@ -4,7 +4,7 @@ import util
libdfhack.Buildings_GetCustomWorkshopType.argtypes = [ c_void_p, POINTER(CustomWorkshop) ] libdfhack.Buildings_GetCustomWorkshopType.argtypes = [ c_void_p, POINTER(CustomWorkshop) ]
def Buildings(object): class Buildings(object):
def __init__(self, ptr): def __init__(self, ptr):
self._b_ptr = ptr self._b_ptr = ptr