don't works
filename = filename.decode('utf-8') AttributeError: 'str' object has no attribute 'decode'
same on v3.1.2 and v3.2.2
It should be better to solve this question at the beggining of Metaadata.__init__()
self.filename = filename.magically_transform()
because all functions or methods reurns the same error
- sys.getfilesystemencoding() - os.path.exists() - os.path.isfile() - os.stat() - etc
don't works
filename = filename. decode( 'utf-8' )
AttributeError: 'str' object has no attribute 'decode'
same on v3.1.2 and v3.2.2
It should be better to solve this question at the beggining of Metaadata. __init_ _()
self.filename = filename. magically_ transform( )
because all functions or methods reurns the same error
- sys.getfilesyst emencoding( )
- os.path.exists()
- os.path.isfile()
- os.stat()
- etc