Commit 23a3d934 authored by Anton Kudinov's avatar Anton Kudinov
Browse files

fixed src absolute path bug

parent e54ea404
......@@ -451,6 +451,10 @@ def get_target(obj):
path=None
if os.path.isabs(obj):
path=obj
try:
src=open(path).read()
except IOError as x:
return None
else:
for p in PATH:
# Read input
......
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