Add comment on default profile naming convention
This commit is contained in:
parent
a659ebe061
commit
4a817e583c
1
buku.py
1
buku.py
@ -2568,6 +2568,7 @@ def get_firefox_profile_name(path):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
for name in os.listdir(path):
|
for name in os.listdir(path):
|
||||||
|
# can be in the format nnnnnn.default or nnnnnn.default-nnnnnn...
|
||||||
if '.default' in name and os.path.isdir(os.path.join(path, name)):
|
if '.default' in name and os.path.isdir(os.path.join(path, name)):
|
||||||
logdbg(name)
|
logdbg(name)
|
||||||
return name
|
return name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user