Skip to content
Commit 8e81a885 authored by Ian Bruene's avatar Ian Bruene
Browse files

Fixed fitinfield() to round numbers instead of cropping.

parent 88d3fc34
Loading
Loading
Loading
Loading
  • Gary E. Miller 💬 @garyedmundsmiller ·
    Maintainer

    I pushed it, but I don't believe it solves my recent problems.

    Like this one when I hit 'd' then [down arrow]'

     ntpmon -u
    Traceback (most recent call last):
      File "/usr/local/bin/ntpmon", line 302, in <module>
        stdscr.addstr(strconvert.encode('UTF-8'))
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xae in position 60: ordinal not in range(128)
    ```
  • Author Developer

    Ok, I know what the source of this error is. 0xae is introduced as a temp delimiter, and then almost immediately stripped out.

    But I don't know how an AE is slipping through, currently writing a patch to catch the error and print some diagnostics. strip out the 0xae earlier.

    Edited by Ian Bruene
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment