7xGit / 7xGit/7xGit_Task4

get_desktop_path() does not return correct Desktop path

Đang mở Phù hợp với người mới
#5 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue
Ngôn ngữ chính
Python
Star
1
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Description:
The function responsible for retrieving the Desktop path doesn't return the expected location on most systems, especially across different operating systems. As a result, any file or folder creation fails silently or ends up in the wrong location.

_Hint: Check if the function dynamically resolves the user’s actual home directory and appends 'Desktop'._

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Find the get_desktop_path() function in the codebase. Examine how it constructs the path, likely using os.path.join. Research platform-specific ways to get the user's home directory (e.g., os.path.expanduser('~') or pathlib.Path.home()) and the correct Desktop folder name (e.g., 'Desktop' on macOS/Linux, 'Desktop' on Windows). Write a test to verify the function returns the correct path on your system.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.