Created
November 18, 2014 15:53
-
-
Save javi830810/9a44a4a870f86caa0987 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params['completed_percent'] = int(round((float(completed_min) / float(total_min)) * 100)) if total_min else 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or something like that!