Skip to content

Commit

Permalink
remove Crypto.Random to support older python-crypto installations
Browse files Browse the repository at this point in the history
  • Loading branch information
atoponce committed Jan 1, 2015
1 parent bf3bb43 commit 2e5b2a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""This module sets up the paths for the Flask web application."""
import os
import utils
from Crypto import Random
from flask import Flask, render_template, request, redirect, url_for
from note import Note

Expand Down
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Utility functions for d-note."""
import random
from Crypto.Hash import SHA
from Crypto.Random import random
from note import DATA_DIR

def duress_text():
Expand Down

0 comments on commit 2e5b2a0

Please sign in to comment.