Skip to content

AttributeError: 'bytes' object has no attribute 'keys' #6

@EvilHomer0815

Description

@EvilHomer0815

mailcow alias get --all
Traceback (most recent call last):
File "/home/phil/mailcowpython/bin/mailcow", line 8, in
sys.exit(main())
File "/home/phil/mailcowpython/lib/python3.9/site-packages/mailcow/cli.py", line 78, in main
tables = moo.as_table(vertical=args.vertical)
File "/home/phil/mailcowpython/lib/python3.9/site-packages/mailcow/init.py", line 251, in as_table
table.field_names = data.keys()
AttributeError: 'bytes' object has no attribute 'keys'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions