change platform check
This commit is contained in:
@@ -96,10 +96,10 @@ def perform_calculations(curdir, path_delim, report_file):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
rootdir = os.getcwd()
|
rootdir = os.getcwd()
|
||||||
path_delim = ''
|
path_delim = ''
|
||||||
if platform.system() == 'Darwin':
|
if platform.system() == 'Windows':
|
||||||
path_delim = '/'
|
|
||||||
else:
|
|
||||||
path_delim = '\\'
|
path_delim = '\\'
|
||||||
|
else:
|
||||||
|
path_delim = '/'
|
||||||
report_file = rootdir + path_delim + 'report.xlsx'
|
report_file = rootdir + path_delim + 'report.xlsx'
|
||||||
print(report_file)
|
print(report_file)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user