App name is duplicated on Windows if author name is missing or None
See original GitHub issue- Python version: 3.9
- appdirs version: 1.4.4
Linux:
>>> appdirs.user_data_dir('foo')
'/home/user/.local/share/foo'
Windows:
>>> appdirs.user_data_dir('foo')
'C:\\Users\\user\\AppData\\Local\\foo\\foo'
Specifying an empty string as second argument works to avoid this issue.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
Windows 10 Duplicate User on sign-in page
Click Start. · Type cmd, and then press CTRL+SHIFT+ENTER to open elevated command prompt (I.e. Command prompt with admin rights). · If the...
Read more >Solution Explorer showing duplicate files
I am using the VS for mac welcome screen and selecting a New app with react and redux. I get duplicate file names...
Read more >Gradle 7 requires duplicatesStrategy for "fake" duplicates
Gradle throws the duplicatesStrategy error, when the same source ... the title Gradle 7 requires duplicatesStrategy for no real duplicates ...
Read more >How to Find and Remove Duplicate Files in Windows 10 & 11
Its “fuzzy matching algorithm” allows it to detect duplicate files when their file names or contents are similar, but not the same exactly....
Read more >Identifying and removing duplicate records from systematic ...
The time taken to de-duplicate in each option and the number of false positives ... duplicates, two or more citations had to share...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Noone forces you to have two levels of directories if you read the doc string
I think this behavior is not very useful, but it can still help. Also some companies use subderictories e.g.: Mozilla (“Mozilla” dir has subdir “Firefox”, Opera (“Opera Software” dir has subdir “Opera Stable” etc)
I’m not a big Windows connoisseur, but most likely it’s just a good tone rule that doesn’t have to be followed… Hack with
''
will be work untilos.path.join
has same bevavior