From 6e0d1324df6f25700332aa84409cc15985b9d2ff Mon Sep 17 00:00:00 2001 From: Hooverdan96 <35113775+Hooverdan96@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:00:34 -0800 Subject: [PATCH] Replace raw_input() with input() --- src/rockstor/scripts/ovpn_util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rockstor/scripts/ovpn_util.py b/src/rockstor/scripts/ovpn_util.py index f50fc924d..5f1422ebb 100644 --- a/src/rockstor/scripts/ovpn_util.py +++ b/src/rockstor/scripts/ovpn_util.py @@ -1,5 +1,5 @@ """ -Copyright (c) 2012-2020 RockStor, Inc. +Copyright (c) 2012-2024 RockStor, Inc. This file is part of RockStor. RockStor is free software; you can redistribute it and/or modify @@ -31,14 +31,14 @@ def initpki(): def client_gen(): - client_name = raw_input("Enter a name for the client(no spaces): ") # noqa F821 + client_name = input("Enter a name for the client(no spaces): ") # noqa F821 os.system( "%s -it %s easyrsa build-client-full %s nopass" % (CMD, image, client_name) ) def client_retrieve(): - client_name = raw_input( + client_name = input( "Enter the name of the client you like to retrieve: " ) # noqa F821 E501 outfile = "/tmp/%s.ovpn" % client_name