--- OSA_system2/OSAS_server.py 2005/03/07 21:25:41 1.14 +++ OSA_system2/OSAS_server.py 2005/10/10 18:11:11 1.16 @@ -20,6 +20,10 @@ class OSAS_storeOnlineServer(SimpleItem) meta_type="OSAS_server" + def __init__(self,id): + """initalize osas_server""" + self.id = id + def getImages(self,path): """hack""" imageEnding=['.gif','.jpg','.jpeg','.png','.tiff','.tif'] @@ -155,10 +159,10 @@ class OSAS_storeOnlineServer(SimpleItem) return False def generateMovieThumb(self,input,output): - """generate Movie""" - zLOG.LOG("SERVER",zLOG.INFO,"/usr/local/bin/thumbbite.pl %s %s"%(input,output)) - ret=os.popen("/usr/local/bin/thumbbite.pl %s %s"%(input,output)) - zLOG.LOG("SERVER",zLOG.INFO,ret) + """generate Movie""" + zLOG.LOG("SERVER",zLOG.INFO,"/usr/local/bin/thumbbite.pl %s %s"%(input,output)) + ret=os.popen("/usr/local/bin/thumbbite.pl %s %s"%(input,output)) + zLOG.LOG("SERVER",zLOG.INFO,ret) return "ok" def manage_addOSAS_storeOnlineServerForm(self):