Skip to content

Commit

Permalink
refactor: removed unneeded import
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 0e85bec2c416508793f706bbabd627d5c526ed72c9715aad9c3920629a1ef49e
  • Loading branch information
thindil committed Oct 6, 2023
1 parent 6d015d1 commit 39d7ac0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/options.nim
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@

# Standard library imports
import std/[os, osproc, strutils, terminal]
# Database library import, depends on version of Nim
when (NimMajor, NimMinor, NimPatch) >= (1, 7, 3):
import db_connector/db_sqlite
else:
import std/db_sqlite
# External modules imports
import ansiparse, contracts, nancy, termstyle
import norm/[model, pragmas, sqlite]
Expand Down Expand Up @@ -67,7 +62,7 @@ type
readOnly*: bool

using
db: db_sqlite.DbConn # Connection to the shell's database
db: DbConn # Connection to the shell's database
optionName: OptionName # The name of option to get or set
arguments: UserInput # The user entered agruments for set or reset option

Expand Down

0 comments on commit 39d7ac0

Please sign in to comment.