aboutsummaryrefslogtreecommitdiff
path: root/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'client.py')
-rw-r--r--client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.py b/client.py
index b4ad7d3..bfdb8cd 100644
--- a/client.py
+++ b/client.py
@@ -74,7 +74,7 @@ def square_wave(theta):
@generator('Random (noise) generator')
def noise(theta):
- return math.random() * 2 - 1
+ return random.random() * 2 - 1
@generator('File generator', '(<file>[, <bits=8>[, <signed=True>[, <0=linear interp (default), 1=nearest>[, <swapbytes=False>]]]])')
class file_samp(object):