diff options
-rw-r--r-- | pathod/language/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/language/http.py b/pathod/language/http.py index 51b4d8c0..b088d2cc 100644 --- a/pathod/language/http.py +++ b/pathod/language/http.py @@ -88,7 +88,7 @@ class ShortcutUserAgent(_HeaderMixin, base.OptionsOrValue): def values(self, settings): value = self.value.val if self.option_used: - value = user_agents.get_by_shortcut(value.lower())[2] + value = user_agents.get_by_shortcut(value.lower().decode())[2].encode() return self.format_header( self.key.get_generator(settings), |