From c60bcc656fb2eeb4402014ffd48b0917fd9d52ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E7=BE=85=E7=8B=BC?= Date: Sun, 18 Feb 2024 23:04:02 +0800 Subject: [PATCH] Update update.py --- modules/phigros/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/phigros/update.py b/modules/phigros/update.py index e26de50e..1414104b 100644 --- a/modules/phigros/update.py +++ b/modules/phigros/update.py @@ -71,7 +71,7 @@ async def update_assets(): ca = random_cache_path() shutil.unpack_archive(download_file, ca) - with open(os.path.join(ca, 'PhigrosLibrary-master', 'difficulty.tsv'), 'r', encoding='utf-8') as f: + with open(os.path.join(ca, 'PhigrosLibrary-main', 'difficulty.tsv'), 'r', encoding='utf-8') as f: reader = csv.DictReader(f, delimiter='\t') for row in reader: data[row['Name'].lower()] = {'EZ': row['EZ'], 'HD': row['HD'], 'IN': row['IN']}