make the entire RSRC path a bytestring

This commit is contained in:
Johnny Robeson 2016-06-11 02:11:14 -04:00
parent 41d9739323
commit ea7f994839

View file

@ -40,7 +40,7 @@ beetsplug.__path__ = [os.path.abspath(
)]
# Test resources path.
RSRC = os.path.join(os.path.dirname(__file__), b'rsrc')
RSRC = util.bytestring_path(os.path.join(os.path.dirname(__file__), 'rsrc'))
# Propagate to root loger so nosetest can capture it
log = logging.getLogger('beets')