From 3a77380ed33b497648dd9beca5e9aa72615bb6e6 Mon Sep 17 00:00:00 2001 From: cclauss Date: Fri, 28 Sep 2018 06:17:28 +0200 Subject: [PATCH] Undefined name: import random in Onepad_Cipher.py (#339) --- ciphers/Onepad_Cipher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ciphers/Onepad_Cipher.py b/ciphers/Onepad_Cipher.py index 5536285efc17..7e1be5fdc077 100644 --- a/ciphers/Onepad_Cipher.py +++ b/ciphers/Onepad_Cipher.py @@ -1,5 +1,7 @@ from __future__ import print_function +import random + class Onepad: def encrypt(self, text):