1. Christian Ebert
  2. muttils


Christian Ebert  committed 9d5d423

kiosk: pass keyword argument to mkstemp

  • Participants
  • Parent commits ca16abe
  • Branches default

Comments (0)

Files changed (1)

File muttils/kiosk.py

View file
     def kiosktest(self):
         '''Provides the path to an mbox file to store retrieved messages.'''
         if not self.ui.kiosk:
-            self.ui.kiosk = tempfile.mkstemp('', 'kiosk.')[1]
+            self.ui.kiosk = tempfile.mkstemp(prefix='kiosk.')[1]
         self.ui.kiosk = util.absolutepath(self.ui.kiosk)
         if (not os.path.exists(self.ui.kiosk) or