OSDN Git Service

git-svn-id: https://svn.osdn.net/svnroot/pydun/trunk@46 44a3fe10-d6a8-4042-99bc-5bf97...
authorhrwatahiki <hrwatahiki@44a3fe10-d6a8-4042-99bc-5bf971f0e03b>
Thu, 27 Jun 2013 14:07:22 +0000 (14:07 +0000)
committerhrwatahiki <hrwatahiki@44a3fe10-d6a8-4042-99bc-5bf971f0e03b>
Thu, 27 Jun 2013 14:07:22 +0000 (14:07 +0000)
Pydun.exe
Pydun.py

index 59313ba..fd3e218 100644 (file)
Binary files a/Pydun.exe and b/Pydun.exe differ
index 788e5bc..9e5a9eb 100644 (file)
--- a/Pydun.py
+++ b/Pydun.py
@@ -142,7 +142,7 @@ class MainWindow(QtGui.QMainWindow):
         if filename == None:\r
             s = u"無題"\r
         else:\r
-            s = os.path.basename(filename)\r
+            s = os.path.splitext(os.path.basename(filename))[0]\r
         return s\r
 \r
     @QtCore.Slot()\r