Skip to content

Commit 7d6ed3b

Browse files
committed
🐛 Fix relative path handling for 'DL_ZIP_TMP_PATH'
1 parent 97c3444 commit 7d6ed3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def generate_avatar_url_from_user_id_avatar_hash (user_id, hash):
5050
return None
5151

5252
def get_package_zip_path (package_id):
53-
return os.path.join(os.getenv('DL_ZIP_TMP_PATH'), f'{package_id}.zip')
53+
return os.path.join('..', os.getenv('DL_ZIP_TMP_PATH'), f'{package_id}.zip')
5454

5555
def ts_included_in_range (ts, start_date, end_date):
5656
if not start_date:

0 commit comments

Comments
 (0)