Show More
@@ -38,7 +38,7 b' def tidyprefix(dest, kind, prefix):' | |||||
38 | if prefix: |
|
38 | if prefix: | |
39 | prefix = util.normpath(prefix) |
|
39 | prefix = util.normpath(prefix) | |
40 | else: |
|
40 | else: | |
41 |
if not isinstance(dest, |
|
41 | if not isinstance(dest, bytes): | |
42 | raise ValueError('dest must be string if no prefix') |
|
42 | raise ValueError('dest must be string if no prefix') | |
43 | prefix = os.path.basename(dest) |
|
43 | prefix = os.path.basename(dest) | |
44 | lower = prefix.lower() |
|
44 | lower = prefix.lower() |
General Comments 0
You need to be logged in to leave comments.
Login now