add when isMainModule
This commit is contained in:
parent
0ff50fcbe4
commit
4bec75a3b6
|
@ -38,6 +38,7 @@ proc writeVersion() =
|
||||||
echo gitlog
|
echo gitlog
|
||||||
quit 1
|
quit 1
|
||||||
|
|
||||||
|
when isMainModule:
|
||||||
var
|
var
|
||||||
totpRoot: string = getHomeDir() / "life" / "crypto" / "totp"
|
totpRoot: string = getHomeDir() / "life" / "crypto" / "totp"
|
||||||
command: string
|
command: string
|
||||||
|
|
Loading…
Reference in New Issue