-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
A few days ago I downloaded new emonSD image and I flashed it in a 32GB micro SD for a raspberry 2.
When I tried to execute emonSDexpand I received this message:
SyntaxError: Missing parentheses in call to 'print' or similar. I don’t have an exact copy of error.
So I tried to modify emonSDexpand script. I finded 2 rows that use “print”. I added 2 parenthesis and bug was solved.
Previous:
echo " SD card total disk size = "$(python -c "print $PART_END * 512.0 / 1073741824")"Gb"
echo " Data Partition size = "$(python -c "print ($DATA_END - $DATA_START + 1) * 512.0 / 1073741824")"Gb"
Resolved:
echo " SD card total disk size = "$(python -c "print($PART_END * 512.0 / 1073741824)")"Gb"
echo " Data Partition size = "$(python -c "print(($DATA_END - $DATA_START + 1) * 512.0 / 1073741824)")"Gb"
Metadata
Metadata
Assignees
Labels
No labels