X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=wx%2Fviewers%2Ftechnoargia.py;h=f19e9e9cad3f6209614e89349b00a2a896c65469;hp=7d6afa2c890ed0f8b7eb44e94d2e5b64de0c2184;hb=a9c3c32bc9ba2604d0bab6a7a2df530396b6d965;hpb=e37b83503aa09d36d7e32327d9bd1f6c42708890 diff --git a/wx/viewers/technoargia.py b/wx/viewers/technoargia.py index 7d6afa2..f19e9e9 100644 --- a/wx/viewers/technoargia.py +++ b/wx/viewers/technoargia.py @@ -71,7 +71,7 @@ html_template = """ """ from gui.plugin import Plugin -import os +import os, sys class Technoargia(Plugin): def __init__(self, swf, filename): @@ -86,7 +86,10 @@ class Technoargia(Plugin): setattr(self, "_%s" % opt.name, opt.value) def after_save(self, page): - viewerfilename = self._swap_extension(__file__, "swf") + basedir = GPDF2SWF_BASEDIR + viewerfilename = os.path.join(basedir, + "viewers", + "technoargia.swf") self.swfcombine( u"%s" % viewerfilename,