 ;  http://www.eclipse.org/legal/epl-v10.html
 ;
 ;  Contributors:
-;      Pavel Tisnovsky
+;      Pavel Tisnovsky
 ;
 
 (ns clj-mrazik.config)

        (update-in [:geolocation :latitude]  parse-float)
        (update-in [:geolocation :longitude] parse-float)))

(defn load-configuration
    "Load configuration from the provided INI file."
    [ini-file-name]
    (-> (clojure-ini/read-ini ini-file-name :keywordize? true)
        update-server-configuration
        update-bot-configuration
        update-geolocation-configuration))

(defn print-configuration
    "Print actual configuration to the output."

    "Parse the given string as a float number."
    [string]
    (java.lang.Float/parseFloat string))

(defn parse-boolean
    "Parse the given string as a boolean value."
    [^String string]
    (or (= string "true")
        (= string "True")))

(defn parse-hh-mm-time-as-minutes
    "Parse the given string that has to have format 'HH:mm' and returns
