Skip to content

Commit c71a710

Browse files
committed
SDFE-1931 relative path and box shape
1 parent 95e87b2 commit c71a710

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mapall.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,12 @@ def rank(self, fh):
9494
def image(self, names=[]):
9595
if not names:
9696
names = [self.__class__.__name__]
97+
9798
for name in names:
98-
imgfile = os.path.join('/data/aws-map/images', '%s.png' % name)
99+
imgfile = os.path.join('images', '%s.png' % name)
99100

100101
if os.path.exists(imgfile):
101-
imagestr = ', image="%s", shape=none ' % imgfile
102+
imagestr = ', image="%s", shape=box ' % imgfile
102103
break
103104
else:
104105
imagestr = ', shape=box'

0 commit comments

Comments
 (0)