Closed Aniket21mathur closed 5 years ago
Thanks. Reviewed. Comments;
sugar3.activity.get_activity_root()
rather than the environment variable SUGAR_ACTIVITY_ROOT
, because the directory may not exist. Please review other activity source code to see how it can be done, and my change to the documentation),dir
to ''
first,import ast
is very rare in Sugar activities, please use JSON in the file,format_Str
is a mixed case name, and I wasn't able to understand why it is being used,@Aniket21mathur ping
@pro-panda I will make the changes in the pr soon. Thanks for reminding.
I am not working on this currently. Anyone who wishes to continue, feel free to do so. :-)
Previously dimension and units are reset to Length - Cables.
Now saving the last used dimensions and units in user's activity instance data directory.
Fixes https://github.com/sugarlabs/convert/issues/13