diff --git a/RNS/__init__.py b/RNS/__init__.py index 26f8717..b9aee82 100755 --- a/RNS/__init__.py +++ b/RNS/__init__.py @@ -187,10 +187,7 @@ def prettyfrequency(hz, suffix="Hz"): for unit in units: if abs(num) < 1000.0: - if unit == "": - return "%.2f %s%s" % (num, unit, suffix) - else: - return "%.2f %s%s" % (num, unit, suffix) + return "%.2f %s%s" % (num, unit, suffix) num /= 1000.0 return "%.2f%s%s" % (num, last_unit, suffix)