diff options
Diffstat (limited to 'obsapi/repoflags.py')
| -rw-r--r-- | obsapi/repoflags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obsapi/repoflags.py b/obsapi/repoflags.py index 61ddbbe..687796a 100644 --- a/obsapi/repoflags.py +++ b/obsapi/repoflags.py @@ -13,7 +13,7 @@ class RepoFlags(): self.flag_type = flag_type self.root = None - if isinstance(xml, (str,)): + if isinstance(xml, (str, unicode, bytes)): try: self.import_xml(xml) except Exception: |
