• Samuel GAIST's avatar
    [backend][assetmodel] Fix handling of unexpected files · 27cd51e9
    Samuel GAIST authored
    The AssetModel class was designed with a clean prefix
    in mind. If for some reason a rogue file is created outside
    the prefix architecture, this would generate an error.
    
    This patch fixes this by ensuring that only the folders are
    parsed when it makes sense.
    
    Fixes #233
    27cd51e9
assetmodel.py 7.95 KB