GNSSpy-Project / gnsspy

Python Toolkit for GNSS Data
MIT License
179 stars 74 forks source link

Fix AttributeError: 'ParsedRequirement' object has no attribute 'req' #11

Closed torlenor closed 3 years ago

torlenor commented 3 years ago

I took the liberty to cast the fix proposed by nahimilega into a pull request.

torlenor commented 3 years ago

Fixes issue #7

karaketir16 commented 3 years ago

please merge this pull request.

there are another solution also.

    try:
        return [str(ir.req) for ir in reqs]
    except:
        return [str(ir.requirement) for ir in reqs]

ref: https://stackoverflow.com/questions/62114945/attributeerror-parsedrequirement-object-has-no-attribute-req