summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-05-01 16:30:13 -0500
committermsglm <msglm@techchud.xyz>2023-05-01 16:30:13 -0500
commite799ce9ee8bde36d85c7fcdfbe73d63e8866b12e (patch)
tree766ab096883994251342171708a05ef6d200555c
parent735db7c3f21761a435423ed092712bad0e97b8b8 (diff)
downloadindeedwatcher-1.1.2.tar.gz
indeedwatcher-1.1.2.tar.bz2
indeedwatcher-1.1.2.zip
ensure that company names dont have slashesv1.1.2
-rw-r--r--src/indeedwatcher.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indeedwatcher.nim b/src/indeedwatcher.nim
index a0a8686..cd3e220 100644
--- a/src/indeedwatcher.nim
+++ b/src/indeedwatcher.nim
@@ -174,7 +174,7 @@ for feed in feeds:
Description:
$6
""" % [posting.jobName, posting.employer, posting.location, salaryInfoAndJobType, posting.URL, fullDesc]
- writeFile(outdir & posting.employer & " - " & posting.jobName.replace("/") & ".txt", output)
+ writeFile(outdir & posting.employer.replace("/") & " - " & posting.jobName.replace("/") & ".txt", output)
echo "Wrote job to file!"
cache.writeLine(posting.URL)
echo "Wrote listing to cache!"