7xGit / 7xGit/7xGit_Task4

get_desktop_path() does not return correct Desktop path

Aperta Adatta ai principianti
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug good first issue
Lingua principale
Python
Stelle
1
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
cli
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.