diff --git a/app/classes/web/routes/api/servers/server/action.py b/app/classes/web/routes/api/servers/server/action.py index 2360b172..cf9163b9 100644 --- a/app/classes/web/routes/api/servers/server/action.py +++ b/app/classes/web/routes/api/servers/server/action.py @@ -46,7 +46,6 @@ class ApiServersServerActionHandler(BaseApiHandler): return Servers.select().where(Servers.server_name == name).exists() server_data = self.controller.servers.get_server_data_by_id(server_id) - server_uuid = server_data.get("server_uuid") new_server_name = server_data.get("server_name") + " (Copy)" name_counter = 1 diff --git a/app/classes/web/server_handler.py b/app/classes/web/server_handler.py index e2913f5f..bf4e930d 100644 --- a/app/classes/web/server_handler.py +++ b/app/classes/web/server_handler.py @@ -201,7 +201,6 @@ class ServerHandler(BaseHandler): server_data = self.controller.servers.get_server_data_by_id( server_id ) - server_uuid = server_data.get("server_uuid") new_server_name = server_data.get("server_name") + " (Copy)" name_counter = 1