summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/opt/openslx/hardware-stats/collect_hw_info_json.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/hardware-stats/data/opt/openslx/hardware-stats/collect_hw_info_json.py')
-rw-r--r--core/modules/hardware-stats/data/opt/openslx/hardware-stats/collect_hw_info_json.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/hardware-stats/collect_hw_info_json.py b/core/modules/hardware-stats/data/opt/openslx/hardware-stats/collect_hw_info_json.py
index f110a792..3f0002b2 100644
--- a/core/modules/hardware-stats/data/opt/openslx/hardware-stats/collect_hw_info_json.py
+++ b/core/modules/hardware-stats/data/opt/openslx/hardware-stats/collect_hw_info_json.py
@@ -97,9 +97,9 @@ def file_get_contents(path, strip_lf = True):
s = s[:-1]
return s
except FileNotFoundError:
- print("File not found: " + path)
+ eprint("File not found: " + path)
except IOError:
- print("IO Error reading file " + path)
+ eprint("IO Error reading file " + path)
return ""
# Get CD/DVD Information