Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRauls committed Oct 13, 2021
1 parent 0567d9f commit 0383c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion feta.nimble
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package
version = "0.0.11"
version = "0.0.12"
author = "Florian Rauls"
description = "A domain-specific language for general purpose office automation. The language is embedded in Nim and allows for quick and easy integration of different office software environments."
license = "MIT"
Expand Down
4 changes: 1 addition & 3 deletions feta/mailFunc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,4 @@ var mailBot* : Mailer
try:
mailBot = newMailer(smtpServer, smtpServerPort, userMail, targetMailNameTest, userMail, userMailWord)
except ValueError:
var con : Config = loadConfig("./feta.nimble")
var ver = con.getSectionValue("", "version")
echo "Initalization of mail functionalities failed. Did you insert your data into ~/.nimble/pkgs/feta-"&ver&"/feta/files/userData.nim?"
echo "Initalization of mail functionalities failed. Did you insert your data into ~/.nimble/pkgs/feta-INSTALLEDVERSION/feta/files/userData.nim?"

0 comments on commit 0383c0c

Please sign in to comment.