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