Skip to content

Script Error #15

@Shaunkempson

Description

@Shaunkempson

Hello,

When running your script on RP4, seems to encounter issue with as follows:

~/bme680_to_influxdb $ python senddata.py “./config.ini”
/home/pi/bme680_to_influxdb/senddata.py:22: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(sys.argv) is 2:
KeyError parsing config.ini file. Check file and its structure!

Can you assist me with this issue, script was working fine to what looks like a newer version of python being 3.9.2+

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