Removed 'raw' from error message 'raw in'

This commit is contained in:
Jonny Bergdahl 2021-05-22 12:36:28 +02:00
parent 20946d97a1
commit 38177aff33
2 changed files with 5 additions and 5 deletions

View File

@ -1672,6 +1672,10 @@ msgstr ""
msgid "Only edge detection is available on this hardware"
msgstr ""
#: shared-bindings/ipaddress/__init__.c
msgid "Only int or string supported for ip"
msgstr ""
#: shared-module/displayio/OnDiskBitmap.c
#, c-format
msgid ""
@ -1693,10 +1697,6 @@ msgstr ""
msgid "Only one color can be transparent at a time"
msgstr ""
#: shared-bindings/ipaddress/__init__.c
msgid "Only raw int or string supported for ip"
msgstr ""
#: ports/esp32s2/bindings/espidf/__init__.c ports/esp32s2/esp_error.c
msgid "Operation or feature not supported"
msgstr ""

View File

@ -91,7 +91,7 @@ STATIC mp_obj_t ipaddress_ip_address(mp_obj_t ip_in) {
mp_raise_ValueError(translate("Not a valid IP string"));
}
} else {
mp_raise_ValueError(translate("Only raw int or string supported for ip"));
mp_raise_ValueError(translate("Only int or string supported for ip"));
}
return common_hal_ipaddress_new_ipv4address(value);