dscpsyl / UCSB-IVCRC-Treasury-Funding-Request-Tool

An internal CLI written in Python for the treasurer of UCSB AS IVCRC to help with workflow and automation that complies with UCSB AS Legal Code.
GNU General Public License v3.0
0 stars 0 forks source link

Meeting minutes download error in requisitionPre #10

Open dscpsyl opened 1 year ago

dscpsyl commented 1 year ago

Because we downloaded the meeting minutes in newEntry, highlighted it, and uploaded it again as a docx. It will not export as Google only support pdf exports of docs files. We might have to convert it to a docs file in newEntry before storing the file ID to fix this.

dscpsyl commented 1 year ago

While this issue is being worked on, user can manually create a docs version of the meeting minutes and use this line to update the db sqlite.updateItem("reqNo", "{number}", "mnId", "{newmnID}", "requests", conn). In the future, a CLI for more db edits will be in place

dscpsyl commented 1 year ago

We can use the drive api to copy the uploaded docx file to a google doc mime type and then delete the uploaded file and save the fileID of the new file