Commit 319b14f8 authored by Chrysostomos Nanakos's avatar Chrysostomos Nanakos
Browse files

pithcat: Fix a bug when using Synnefo version 0.16

PITHOS_INPUT_DATA env variable and '--data' option are not used
in Synnefo version 0.16.
parent 4c08ce7e
......@@ -187,7 +187,8 @@ def main():
data_path = environ['PITHCAT_INPUT_DATA'] if not options.data else \
options.data
else:
elif parse_version(pithos_backend_version) < \
parse_version(SELECTABLE_BE_VER):
if not options.data and 'PITHCAT_INPUT_DATA' not in environ:
stderr.write(
"Pithos data directory path is missing.\n"
......
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