mirror of
https://github.com/zedeus/nitter.git
synced 2025-01-07 07:35:24 +00:00
better imports
This commit is contained in:
parent
a11332b2b5
commit
f6ca1a3f2a
2 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
import parsecfg except Config
|
||||
import types, strutils
|
||||
import std/parsecfg except Config
|
||||
import std/uri
|
||||
import types, strutils
|
||||
|
||||
proc get*[T](config: parseCfg.Config; section, key: string; default: T): T =
|
||||
let val = config.getSectionValue(section, key)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
import times, sequtils, options, tables
|
||||
import std/[times, sequtils, options, tables, uri]
|
||||
import prefs_impl
|
||||
import std/uri
|
||||
|
||||
genPrefsType()
|
||||
|
||||
|
|
Loading…
Reference in a new issue