edihasaj / tuspy-fast-api

MIT License
20 stars 9 forks source link

Handled empty string upload_metadata #6

Closed outofnames closed 1 year ago

outofnames commented 1 year ago

With tuspy 1.0.0 and tuspyserver 1.2.0 release, the upload_metadata is passed as "" (an empty string) which is not handled by if upload_metadata is not None: causing an exception on line 116 for the file tus.py

edihasaj commented 1 year ago

Many thanks @outofnames

edihasaj commented 1 year ago

@outofnames checkout https://pypi.org/project/tuspyserver/1.2.1/

outofnames commented 1 year ago

Thank you for the release :)