Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Some fixes:#3

Open
SalahAdDin wants to merge 4 commits into
waveaccounting:masterfrom
SalahAdDin:master
Open

Some fixes:#3
SalahAdDin wants to merge 4 commits into
waveaccounting:masterfrom
SalahAdDin:master

Conversation

@SalahAdDin
Copy link
Copy Markdown

  • return instead print.
  • Missing imported packages path
  • Added python 3 compat.

- `return` instead `print`.
- Missing imported packages path
- Added python 3 compat.
@SalahAdDin
Copy link
Copy Markdown
Author

@jimgraham

- PEP8 
- Correct importation
- Solve a problem related with hashing

```
  File "/home/salahaddin/Proyectos/Works/kornov/lib/python3.6/site-packages/djangoratings/fields.py", line 373, in contribute_to_class
    self.key = md5_hexdigest(self.name)
  File "/home/salahaddin/Proyectos/Works/kornov/lib/python3.6/site-packages/djangoratings/fields.py", line 37, in md5_hexdigest
    return md5(value).hexdigest()
TypeError: Unicode-objects must be encoded before hashing
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant