diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-22 14:45:07 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-03-22 14:45:07 -0700 |
commit | 4de9d8cacde516fc5d38c6bddffbae39505e6f6a (patch) | |
tree | 00a9d47c66ae8f87dd0c5eabc66e496daf22f400 /mdmv | |
parent | 6804b5512a2d02370d5dafdd67de3d52d1a2d6bd (diff) | |
download | mailscripts-4de9d8cacde516fc5d38c6bddffbae39505e6f6a.tar.gz |
mdmv: ensure destination path ends with ':2,' when msg has no flags
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'mdmv')
-rwxr-xr-x | mdmv | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ for msg in sys.argv[1:-1]: if flags: msg_dest = os.path.join(os.path.join(dest, 'cur'), name_prefix + ':' + flags) else: - msg_dest = os.path.join(os.path.join(dest, 'cur'), name_prefix) + msg_dest = os.path.join(os.path.join(dest, 'cur'), name_prefix + ':2,') if os.path.exists(msg_dest): eprint(us + ": somehow, dest " + msg_dest + " already exists") |