derJD / python-mailcow

Python wrapper interacting with MailCow API
https://der-jd.de/python-mailcow/intro/
GNU General Public License v3.0
15 stars 3 forks source link

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

Open EvilHomer0815 opened 10 months ago

EvilHomer0815 commented 10 months ago

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'

Djiock commented 2 months ago

Same issue for me...