Skip to content
Snippets Groups Projects
Commit 1b64d99b authored by ha7ilm's avatar ha7ilm
Browse files

print "save the wold today" -> world :-)

parent eb6d4dd0
No related branches found
No related tags found
No related merge requests found
......@@ -319,10 +319,10 @@ class WebRXHandler(BaseHTTPRequestHandler):
if (pmax==0 and pmin==0) or (pval>=pmin and pval<=pmax):
if param_name=="low_cut" and pval>=tb.get_high_cut():
tb.set_high_cut(tb.get_demod_rate()/2-1)
print "saved the wold today (lc); set_high_cut =",tb.get_demod_rate()/2-1
print "saved the world today (lc); set_high_cut =",tb.get_demod_rate()/2-1
elif param_name=="high_cut" and pval<=tb.get_low_cut():
tb.set_low_cut(-tb.get_demod_rate()/2+1)
print "saved the wold today (hc); set_low_cut =",-tb.get_demod_rate()/2+1
print "saved the world today (hc); set_low_cut =",-tb.get_demod_rate()/2+1
setter_method = getattr(tb, "set_"+param_name)
setter_method(pval)
session_param_dict[param_name]=(pval,pmin,pmax)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment