Closed gsdefender closed 1 year ago
I've added a call to get_platform
.
I don't know why it returns "other" rather than "lin" on Parrot, it probably should be amended somewhat.
I've added a call to
get_platform
. I don't know why it returns "other" rather than "lin" on Parrot, it probably should be amended somewhat.
It seems that sys.platform is returning "linux" for Parrot, which is currently missing inside get_platform(): https://github.com/fit-project/fit/blob/37e1e8a980788a5fe17fc645090a9cacebb702df/common/utility.py#L33-L40
adding 'linux' : 'lin',
should do the trick.
@gsdefender I applied your corrections wherever needed, thank you for your contribution!
Hi, I had some troubles using the web module on (Parrot) Linux. Privileges problems aside (I needed to run fit as root to get promiscuous mode) there were some minor corrections to be done in a couple of files. fit worked OK afterwards.