summaryrefslogtreecommitdiffstats
path: root/src/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux')
-rw-r--r--src/linux/ogOperations.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py
index fcbcc69..d0bbeeb 100644
--- a/src/linux/ogOperations.py
+++ b/src/linux/ogOperations.py
@@ -117,7 +117,10 @@ class OgLinuxOperations:
except:
raise ValueError('Error: Incorrect command value')
- return output.decode('utf-8')
+ software = ''
+ with open(path, 'r') as f:
+ software = f.read()
+ return software
def hardware(self, path, ogRest):
try: