diff options
author | msglm <msglm@techchud.xyz> | 2023-04-13 20:07:25 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-04-13 20:07:25 -0500 |
commit | 5cdc14e3ca9fe3b0d38f8e25baa3818172ddccf3 (patch) | |
tree | 14a414312f6e537054c327a707dcb6832c8371a5 | |
parent | 65b7abadb42e8b9681b978cdda52f6d650027c86 (diff) | |
download | comedyGenerator-5cdc14e3ca9fe3b0d38f8e25baa3818172ddccf3.tar.gz comedyGenerator-5cdc14e3ca9fe3b0d38f8e25baa3818172ddccf3.tar.bz2 comedyGenerator-5cdc14e3ca9fe3b0d38f8e25baa3818172ddccf3.zip |
prevent slashes from appearing in file name
-rwxr-xr-x | comedyGenerator | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/comedyGenerator b/comedyGenerator index 763ea6f..1c90f84 100755 --- a/comedyGenerator +++ b/comedyGenerator @@ -222,6 +222,7 @@ for tags in args.tags: print("shortening name because its too long") name = name[0:200] name = name.replace('"', "") + name = name.replace('/', "") outputPath = args.output + tags + " - " + name + "." + urlsplit[len(urlsplit)-1] if args.verbose: print("name read as: " + name) |