Show More
@@ -38,7 +38,7 b' def hgweb(config, name=None, baseui=None' | |||
|
38 | 38 | - list of virtual:real tuples (multi-repo view) |
|
39 | 39 | ''' |
|
40 | 40 | |
|
41 |
if ((isinstance(config, |
|
|
41 | if ((isinstance(config, bytes) and not os.path.isdir(config)) or | |
|
42 | 42 | isinstance(config, dict) or isinstance(config, list)): |
|
43 | 43 | # create a multi-dir interface |
|
44 | 44 | return hgwebdir_mod.hgwebdir(config, baseui=baseui) |
General Comments 0
You need to be logged in to leave comments.
Login now