Commit 02cddf6c authored by Sander Bollen's avatar Sander Bollen
Browse files

mode w for config (python 3)

parent 0aa9d54a
...@@ -86,7 +86,7 @@ class Primer3(object): ...@@ -86,7 +86,7 @@ class Primer3(object):
handle.write(cfg_str) handle.write(cfg_str)
def run(self): def run(self):
cfg = NamedTemporaryFile(delete=False) cfg = NamedTemporaryFile(delete=False, mode="w")
out = NamedTemporaryFile() out = NamedTemporaryFile()
self.create_config(cfg) self.create_config(cfg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment