Commit 5c649ed4 by Ari Agung Prasetiyo

penyesuaian ulang

1 parent cd11152b
......@@ -89,10 +89,10 @@ def jasper_export(input_file, output_file=None, schema=None,
module_file = input_file[0]
input_file = input_file[1]
if module_file:
path = __import__(module_file)
path = os.path.dirname(path.__file__)
input_file = os.path.join(path, input_file)
if module_file:
path = __import__(module_file)
path = os.path.dirname(path.__file__)
input_file = os.path.join(path, input_file)
else:
input_file = input_file[0]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!