initialize the random number generator
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
import glob
|
||||
import os
|
||||
import random
|
||||
import sys
|
||||
import time
|
||||
|
||||
from aman.com import AircraftReport_pb2
|
||||
from aman.com.Euroscope import Euroscope
|
||||
@@ -33,6 +35,9 @@ class AMAN:
|
||||
self.Weather = None
|
||||
self.Workers = []
|
||||
|
||||
# initialize the random number generator
|
||||
random.seed(time.time())
|
||||
|
||||
def __del__(self):
|
||||
self.release()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user