Skip to content

Commit

Permalink
use action in XML debug output filename
Browse files Browse the repository at this point in the history
  • Loading branch information
meonkeys committed Feb 12, 2024
1 parent 0f60fde commit 435e429
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ow
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def getAlbumUrl(albumName):
return _albumUrl

def captureXmlResponse(text):
f = tempfile.NamedTemporaryFile(mode='w', prefix='dir-album_', delete=False)
global args
f = tempfile.NamedTemporaryFile(mode='w', prefix=args.action+'_', delete=False)
f.write(text)
f.close()
prettyOutputFilename = f.name + '.xml'
Expand Down

0 comments on commit 435e429

Please sign in to comment.