فهرست منبع

wxGUI/menuform: add extra linesep for interactive input

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48992 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 سال پیش
والد
کامیت
8a3381ae4c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      gui/wxpython/gui_modules/menuform.py

+ 1 - 1
gui/wxpython/gui_modules/menuform.py

@@ -1636,7 +1636,7 @@ class cmdPanel(wx.Panel):
                 
             f = open(filename, "w")
             try:
-                f.write(text)
+                f.write(text + os.linesep)
             finally:
                 f.close()
         else: