summaryrefslogtreecommitdiffstats
path: root/pulsecaster/ui.py
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2010-12-21 15:29:25 -0500
committerPaul W. Frields <stickster@gmail.com>2010-12-21 15:29:25 -0500
commite56837e1f657d327eec5f9d12ceb45da4c871dd0 (patch)
treeb070e56fa71acd4c35e7b9c129b7cc1324506bc7 /pulsecaster/ui.py
parentaf5fafca22e10bfa61ea78242b47fc2c1fd4c0c9 (diff)
downloadpulsecaster-e56837e1f657d327eec5f9d12ceb45da4c871dd0.tar.gz
pulsecaster-e56837e1f657d327eec5f9d12ceb45da4c871dd0.tar.xz
pulsecaster-e56837e1f657d327eec5f9d12ceb45da4c871dd0.zip
More verbose tempfile debugging message
Diffstat (limited to 'pulsecaster/ui.py')
-rw-r--r--pulsecaster/ui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py
index 5cfe8e6..bc0f772 100644
--- a/pulsecaster/ui.py
+++ b/pulsecaster/ui.py
@@ -171,7 +171,7 @@ class PulseCasterUI:
# Create temporary file
(self.tempfd, self.temppath) = tempfile.mkstemp(prefix='%s-tmp.' % (NAME))
self.tempfile = os.fdopen(self.tempfd)
- _debugPrint('%s (%s)' % (self.temppath, self.tempfd))
+ _debugPrint('tempfile: %s (fd %s)' % (self.temppath, self.tempfd))
# Adjust UI
self.user_vox.set_sensitive(False)
self.subject_vox.set_sensitive(False)
@@ -322,6 +322,7 @@ class PulseCasterUI:
def _remove_tempfile(self, tempfile, temppath):
tempfile.close()
os.remove(temppath)
+
if __name__ == '__main__':
pulseCaster = PulseCasterUI()
gtk.main()