Browse Source

grass.separator: added \t and \n

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60624 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 11 years ago
parent
commit
d4c28dba68
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/python/script/core.py

+ 2 - 2
lib/python/script/core.py

@@ -682,9 +682,9 @@ def separator(sep):
         return ","
     elif sep == "space":
         return " "
-    elif sep == "tab":
+    elif sep == "tab" or sep == "\\t":
         return "\t"
-    elif sep == "newline":
+    elif sep == "newline" or sep == "\\n":
         return "\n"
     return sep