From 4626383cc4523e46784943103f00e72ce63e9184 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 27 May 2024 11:30:56 +0200 Subject: live: remove unused return value in image_restore() Never used what configureOs() returns, remove it. --- src/live/ogOperations.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/live') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 158ee64..d4ac84e 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -408,12 +408,11 @@ class OgLiveOperations: elif ctype == 'TIPTORRENT': self._restore_image_tiptorrent(repo, name, partdev) - output = configureOs(disk, partition) + configureOs(disk, partition) self.refresh(ogRest) logging.info('Image restore command OK') - return output def image_create(self, request, ogRest): disk = int(request.getDisk()) -- cgit v1.2.3-18-g5258