mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-20 06:34:05 +00:00
Fixed picard.util.pathcmp.
This commit is contained in:
@@ -117,7 +117,7 @@ def decode_filename(filename):
|
||||
return filename.decode(_io_encoding)
|
||||
|
||||
def pathcmp(a, b):
|
||||
return cmp(os.path.normcase(a), os.path.normcase(b))
|
||||
return os.path.normcase(a) == os.path.normcase(b)
|
||||
|
||||
def format_time(ms):
|
||||
"""Formats time in milliseconds to a string representation."""
|
||||
|
||||
Reference in New Issue
Block a user