def periodicSave(self):
		while not self.abort:
			if time.time() - self.time > 10:
				if not self.data == self.dataOld:
					try:
						self.save()
					except:
						print traceback.format_exc()
					self.time = time.time()
			time.sleep(1)
dataset/ETHPy150Open benbaptist/minecraft-wrapper/src/storage.py/Storage.periodicSave/original