When this plugin is running on Python3, it shouldn't call decode because the variable is str type, not bytes.