9433: empty media path must be interpreted as /home/dblank in DB-API
This commit is contained in:
parent
9a097d05da
commit
bd00f36ff1
@ -1109,7 +1109,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback):
|
||||
return gid
|
||||
|
||||
def get_mediapath(self):
|
||||
return self.get_metadata("media-path", "")
|
||||
return self.get_metadata("media-path", None)
|
||||
|
||||
def set_mediapath(self, mediapath):
|
||||
return self.set_metadata("media-path", mediapath)
|
||||
|
Loading…
Reference in New Issue
Block a user