Skip to content

Commit

Permalink
update direct_link_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Feb 19, 2025
1 parent 708af11 commit 4ee96b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@ def gettoken(password, containerUUID, fileUUID):
container_uuid = data["data"]["containerUUID"]
download_host = data["data"]["downloadHost"]
files = data["data"]["container"]["files"]
folder_name = data["data"]["container"]["message"] or "Unknown_Folder"
folder_name = data["data"]["container"]["message"] or ""
except (KeyError, IndexError, TypeError) as e:
print(f"Error parsing file details: {e}")
return None
Expand Down

0 comments on commit 4ee96b0

Please sign in to comment.