aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/Measure.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-08-09 17:57:22 +0100
committerandreas128 <Andreas>2017-08-09 17:57:22 +0100
commit4bd7cfadfbc2fd8347dcee8ae1682af4b8a52114 (patch)
treee7da48d31a8aec41d32197b747fd5e06aa1cc0f4 /dpd/src/Measure.py
parentbf6f4d004f1e7cac99c26c8941844fcadab66e09 (diff)
downloaddabmod-4bd7cfadfbc2fd8347dcee8ae1682af4b8a52114.tar.gz
dabmod-4bd7cfadfbc2fd8347dcee8ae1682af4b8a52114.tar.bz2
dabmod-4bd7cfadfbc2fd8347dcee8ae1682af4b8a52114.zip
Fix Python 2.7 compatibility
Diffstat (limited to 'dpd/src/Measure.py')
-rw-r--r--dpd/src/Measure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/Measure.py b/dpd/src/Measure.py
index 2ba3b37..7b5379d 100644
--- a/dpd/src/Measure.py
+++ b/dpd/src/Measure.py
@@ -108,7 +108,7 @@ class Measure:
logging.debug("Disconnecting")
s.close()
- du = DU.Dab_Util(samplerate)
+ du = DU.Dab_Util(self.samplerate)
txframe_aligned, rxframe_aligned = du.subsample_align(txframe, rxframe)
logging.info(