Increase message file length count

This commit is contained in:
Robert Miles 2019-11-12 16:32:33 +00:00
parent ab1677893b
commit 61b0b8ed9a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def getshipdir():
def get_name_from_title(title):
shipdir = getshipdir()
t = NOT_ALPHANUM.sub("-",title)
t = t[:10]
t = t[:20]
if os.path.exists(os.path.join(shipdir,t+".txt")):
n = 1
while os.path.exists(os.path.join(shipdir,t+str(n)+".txt")):