summaryrefslogtreecommitdiff
blob: c584f2666bcbc46386d840a4c4133c909cbbf617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/horizons/util/preloader.py	2019-01-12 16:15:42.000000000 +0100
+++ b/horizons/util/preloader.py	2022-09-04 02:18:05.000073586 +0200
@@ -79,9 +79,9 @@
 		"""
 		self.lock.acquire()
 		# wait until it finished its current action
-		if self.isAlive():
+		if self.is_alive():
 			self.join()
-			assert not self.isAlive()
+			assert not self.is_alive()
 		else:
 			try:
 				self.lock.release()