Show More
@@ -37,7 +37,7 b' def systemrcpath():' | |||
|
37 | 37 | value = util.lookupreg( |
|
38 | 38 | b'SOFTWARE\\Mercurial', None, winreg.HKEY_LOCAL_MACHINE |
|
39 | 39 | ) |
|
40 |
if not isinstance(value, |
|
|
40 | if not isinstance(value, bytes) or not value: | |
|
41 | 41 | return rcpath |
|
42 | 42 | value = util.localpath(value) |
|
43 | 43 | for p in value.split(pycompat.ospathsep): |
General Comments 0
You need to be logged in to leave comments.
Login now