change platform check
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user