Commit 62505148 authored by Tomas Farago's avatar Tomas Farago
Browse files

fix typo if -> elif

parent fd9acd3d
Pipeline #26053 passed with stages
in 2 minutes and 6 seconds
......@@ -115,7 +115,7 @@ class HDF5TomoScan(TomoScanBase):
if not os.path.exists(scan) and '.' in os.path.split(scan)[-1]:
self.master_file = scan
scan = os.path.dirname(scan)
if os.path.isfile(scan) or ():
elif os.path.isfile(scan) or ():
self.master_file = scan
scan = os.path.dirname(scan)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment