Skip to content

Commit

Permalink
XASY: Use windows temp directory directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamievlin committed May 21, 2024
1 parent 3c55917 commit c392ae2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions GUI/xasygui/xasy2asy.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ def __init__(self, path=None, keepFiles=DebugFlags.keepFiles, keepDefaultArgs=Tr
self.istream = os.fdopen(ra, 'r')

self.keepFiles = keepFiles
if sys.platform[:3] == 'win':
self.tmpdir = tempfile.mkdtemp(prefix='xasyData_',dir='./')+'/'
else:
self.tmpdir = tempfile.mkdtemp(prefix='xasyData_')+os.sep
self.tmpdir = tempfile.mkdtemp(prefix='xasyData_')+os.sep

if xa.getArgs().render:
renderDensity=xa.getArgs().render
Expand Down

0 comments on commit c392ae2

Please sign in to comment.