git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied patch from Ricardo Pedroso
[swftools.git]
/
wx
/
viewers
/
technoargia.py
diff --git
a/wx/viewers/technoargia.py
b/wx/viewers/technoargia.py
index
7d6afa2
..
f19e9e9
100644
(file)
--- a/
wx/viewers/technoargia.py
+++ b/
wx/viewers/technoargia.py
@@
-71,7
+71,7
@@
html_template = """<html>
"""
from gui.plugin import Plugin
"""
from gui.plugin import Plugin
-import os
+import os, sys
class Technoargia(Plugin):
def __init__(self, swf, filename):
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):
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,
self.swfcombine(
u"%s" % viewerfilename,