I'm having some difficulty adapting part of the current job code for ST.
Basically each current job class has a line something like this:
self.img = self.girl.show("tag1", "tagN")
What I've got is this:
self.img = self.course.get_image(self.girl)
# --------
def get_image(self, girl, **kwargs):
kwargs[self.imageMode] = True # normal, any, etc
if self.noImageTags: kwargs["exclude"] = self.noImageTags
if self.imageTags:
if girl.has_image(*self.imageTags, **kwargs): return girl.show(*self.imageTags, **kwargs)
# Fallback
return girl.show("profile", "happy", **kwargs)
The function is just abstraction to allow for only 1 img assignment while having each course have different image tags.
The problem is that the job reports will sometimes have images from different girls, which makes no sense as I've copied the actual get image call from the other jobs and they aren't doing anything of the sort.