From: Antonio Ospite Date: Sun, 3 Jan 2016 17:46:21 +0000 (+0100) Subject: MorseDistanceModulator.py: be more precise in an error message X-Git-Url: https://git.ao2.it/SaveMySugar/python3-savemysugar.git/commitdiff_plain/74ef1879526d5a70991b2a1d23c79ef854fd2e78 MorseDistanceModulator.py: be more precise in an error message --- diff --git a/src/savemysugar/MorseDistanceModulator.py b/src/savemysugar/MorseDistanceModulator.py index 417c5f9..1f78382 100755 --- a/src/savemysugar/MorseDistanceModulator.py +++ b/src/savemysugar/MorseDistanceModulator.py @@ -34,7 +34,7 @@ class SymbolTime(object): assert multiplier >= 0 if (period_min == period_max) and (min_inter_symbol_distance == 0): raise ValueError("If (period_min == period_max) a non-zero", - "inter-symbol distance MUST be specified") + "min_inter_symbol_distance MUST be specified") symbol_distance = 2 * (period_max - period_min) if symbol_distance == 0: