Skip to content

Commit

Permalink
[overlay]: channel and plane (xy, etc) were swapped in overlay cutout
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbaden committed Jun 12, 2015
1 parent b58f11b commit d4e015e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/overlay/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def overlayImage (request, webargs):
# and that the channels exist

# get the first image
url = 'http://{}/ocp/ca/{}/{}/{}/{}'.format(server1,token1,plane,channel1,cutout)
url = 'http://{}/ocp/ca/{}/{}/{}/{}'.format(server1,token1,channel1,plane,cutout)
try:
f = urllib2.urlopen ( url )
except urllib2.URLError, e:
Expand All @@ -67,7 +67,7 @@ def overlayImage (request, webargs):
img1 = Image.open(fobj)

# get the second image
url = 'http://{}/ocp/ca/{}/{}/{}/{}'.format(server2,token2,plane,channel2,cutout)
url = 'http://{}/ocp/ca/{}/{}/{}/{}'.format(server2,token2,channel2,plane,cutout)
try:
f = urllib2.urlopen ( url )
except urllib2.URLError, e:
Expand Down

0 comments on commit d4e015e

Please sign in to comment.