fixed few typos

This commit is contained in:
Marco Cammarata 2017-01-27 15:39:32 +01:00
parent 8f922cce86
commit 21d7516789
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def doFolder_dataRed(azavStorage,monitor=None,funcForAveraging=np.nanmean,
if isinstance(azavStorage,storage.DataStorage):
data = azavStorage
folder = os.path.dirname(data.filename) if data.filename is not None else "./"
folder = azavStorage.folder
elif os.path.isfile(azavStorage):
folder = os.path.dirname(azavStorage)
data = storage.DataStorage(azavStorage)