From c29e215cfdac9f47bafd9e5fb0a6fcb20d347907 Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Mon, 21 Aug 2023 22:27:16 +0530 Subject: [PATCH] change platform check --- scripts/device_qc_report.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/device_qc_report.py b/scripts/device_qc_report.py index e1c354f..7c46442 100644 --- a/scripts/device_qc_report.py +++ b/scripts/device_qc_report.py @@ -96,10 +96,10 @@ def perform_calculations(curdir, path_delim, report_file): if __name__ == "__main__": rootdir = os.getcwd() path_delim = '' - if platform.system() == 'Darwin': - path_delim = '/' - else: + if platform.system() == 'Windows': path_delim = '\\' + else: + path_delim = '/' report_file = rootdir + path_delim + 'report.xlsx' print(report_file)