From 5e4113c2d62976ee2585fb3890c894db48970a58 Mon Sep 17 00:00:00 2001 From: Marco Cammarata Date: Fri, 27 Jan 2017 15:37:59 +0100 Subject: [PATCH] i do not rememebr why i did this .. --- storage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/storage.py b/storage.py index 1e215c4..cfbb3dc 100644 --- a/storage.py +++ b/storage.py @@ -116,6 +116,7 @@ def save(fname,d): # make sure the object is dict (recursively) this allows reading it # without the DataStorage module d = objToDict(d,recursive=True) + d['filename'] = fname extension = os.path.splitext(fname)[1] log.info("Saving storage file %s"%fname) try: