fixed 'The variable binary_file_data does not seem to be defined for all execution paths' in API
parent
edbd8bff42
commit
6de60a8f0e
|
@ -30,6 +30,7 @@ def export(result, space_name, reporting_start_datetime_local, reporting_end_dat
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -30,6 +30,7 @@ def export(result, space_name, reporting_start_datetime_local, reporting_end_dat
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -28,6 +28,7 @@ def export(result, space_name):
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -30,6 +30,7 @@ def export(result, space_name, reporting_start_datetime_local, reporting_end_dat
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -37,6 +37,7 @@ def export(report, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -34,6 +34,7 @@ def export(result, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -34,6 +34,7 @@ def export(result, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -30,6 +30,7 @@ def export(result, space_name, reporting_start_datetime_local, reporting_end_dat
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(result,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -36,6 +36,7 @@ def export(report, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -33,6 +33,7 @@ def export(result, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -30,6 +30,7 @@ def export(result, space_name, reporting_start_datetime_local, reporting_end_dat
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -30,6 +30,7 @@ def export(result, space_name, reporting_start_datetime_local, reporting_end_dat
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -30,6 +30,7 @@ def export(result, space_name, reporting_start_datetime_local, reporting_end_dat
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -39,6 +39,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -41,6 +41,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -40,6 +40,7 @@ def export(report,
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -36,6 +36,7 @@ def export(report, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
|
@ -33,6 +33,7 @@ def export(result, name, reporting_start_datetime_local, reporting_end_datetime_
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
# Step 3: Encode the excel file to Base64
|
# Step 3: Encode the excel file to Base64
|
||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
binary_file_data = b''
|
||||||
try:
|
try:
|
||||||
with open(filename, 'rb') as binary_file:
|
with open(filename, 'rb') as binary_file:
|
||||||
binary_file_data = binary_file.read()
|
binary_file_data = binary_file.read()
|
||||||
|
|
Loading…
Reference in New Issue