Skip to content

error with StringIO cannot read config_file #67

@Notmarrco

Description

@Notmarrco

Hi,
I'm not sure it's an issue due to trovebox or to my OS, but in auth.py it can't read my config file anymore.

I changed it to :

    with open(config_path, "r") as conf:
        res = conf.read()
        buf.write(unicode(res))

and it works now.

It seems to me it is some kind of issue with having python3 and python2.7 on the same system. With StringIO I can't use the "open" method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions