diff --git a/Twitter/tweetHelper.py b/Twitter/tweetHelper.py index 45d4051..38b1a92 100644 --- a/Twitter/tweetHelper.py +++ b/Twitter/tweetHelper.py @@ -49,7 +49,7 @@ async def GetTweetMediaUrls(tweet : Tweet): async def DownloadMedia(post_id, account_id, account_name, url_list : list, session) -> list[DownloadedMedia]: result : list[DownloadedMedia] = [] - path = f"{Global_Config("x_download_path")}{account_id}" + path = f"{Global_Config["x_download_path"]}{account_id}" os.makedirs(path, exist_ok=True) for idx, file_url in enumerate(url_list):