Skip to content

Commit 8cea652

Browse files
committed
Add ~ as escape character.
1 parent 67c438f commit 8cea652

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

AutoStructureFilesForDFplayer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os.path
44
import shutil
55

6-
#Author: L. Preusser "Schallbert"
6+
#Author: "Schallbert"
77

88
# this function pads leading zeros to a number, returning a string.
99
def playerFSnumbers(indx, maxCnt):
@@ -38,6 +38,7 @@ def replaceSpecialCharactersInPlaylist(lineOfPlaylist):
3838
lineOfPlaylist = lineOfPlaylist.replace("%3D", "=")
3939
lineOfPlaylist = lineOfPlaylist.replace("%3E", ">")
4040
lineOfPlaylist = lineOfPlaylist.replace("%3F", "?")
41+
lineOfPlaylist = lineOfPlaylist.replace("%7E", "~")
4142
return lineOfPlaylist
4243

4344
def quitWithMessage(messageString):

0 commit comments

Comments
 (0)