Code cleanup

This commit is contained in:
simon987
2018-04-21 13:27:13 -04:00
parent 4eb9cf6b63
commit 87f35571fa
20 changed files with 811 additions and 856 deletions

View File

@@ -8,7 +8,7 @@ import config
class CheckSumCalculator:
def checksum(self, string: str):
return flask_bcrypt.generate_password_hash(string, 14) # todo load from config
return flask_bcrypt.generate_password_hash(string, config.bcrypt_rounds)
class DuplicateDirectoryException(Exception):