remove unneeded elseif
This commit is contained in:
parent
60798ed1a1
commit
2b5277fb98
@ -585,10 +585,6 @@ def download(
|
||||
if filename is None:
|
||||
filename = url.rpartition("/")[-1]
|
||||
|
||||
elif isinstance(url, Var):
|
||||
# May need additional check here to only impact get_upload_url Vars ?
|
||||
url._var_is_string = True
|
||||
|
||||
if filename is None:
|
||||
filename = ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user