From 9ae82ad584ed176109539a284b03052da04226a9 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 30 Jul 2021 18:25:30 -0600 Subject: [PATCH] Make random choice compatible with python3 --- dotfiles/lib/bin/random_choice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/lib/bin/random_choice.py b/dotfiles/lib/bin/random_choice.py index b6a10dc2..ae50f8d8 100755 --- a/dotfiles/lib/bin/random_choice.py +++ b/dotfiles/lib/bin/random_choice.py @@ -2,5 +2,5 @@ import sys import random -print sys.argv[1:] -print random.choice(sys.argv[1:]) +print(sys.argv[1:]) +print(random.choice(sys.argv[1:]))