diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-20 00:43:29 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-20 00:55:04 +0100 |
commit | 8a7c93ef7ee6b99682d2d94a6876e25cf06ec083 (patch) | |
tree | a00b0aa8e504d49b9753870b646b940fee414fd1 /src | |
parent | 4053594451f6986e0dd0a20e1dcfed0a2c344666 (diff) |
feat: Get rid of unnecessary conditional
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/tau/downloader_impl.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tau/downloader_impl.clj b/src/backend/tau/downloader_impl.clj index 8a62821..7083973 100644 --- a/src/backend/tau/downloader_impl.clj +++ b/src/backend/tau/downloader_impl.clj @@ -29,7 +29,7 @@ (reset! instance (tau.DownloaderImpl. builder)))) (defn -getInstance [] - (if @instance @instance (-init))) + (or @instance (-init))) (defn -execute [this request] (let [http-method (.httpMethod request) |