7xGit / 7xGit/7xGit_Task4

get_desktop_path() does not return correct Desktop path

Ouverte Adaptée aux débutants
#5 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug good first issue
Langage dominant
Python
Étoiles
1
Forks
3
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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'._

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
65/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.