diff options
-rwxr-xr-x | mirrorselect/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect/main.py b/mirrorselect/main.py index 30345cc..4858875 100755 --- a/mirrorselect/main.py +++ b/mirrorselect/main.py @@ -109,7 +109,7 @@ class MirrorSelect(object): var = 'GENTOO_MIRRORS' for i in range(0, len(hosts)): - if isinstance(hosts[i], 'bytes'): + if isinstance(hosts[i], bytes): hosts[i] = hosts[i].decode('utf-8') if var == "sync-uri" and out: |