Skip to content

Commit

Permalink
Update cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Advik-B committed Sep 13, 2022
1 parent a711b63 commit 3e249b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from cursepy import CTClient
from cursepy import CurseClient as CTClient
from tree_generator import gentree
from urllib.parse import unquote
from clint.textui import progress
Expand All @@ -11,6 +11,7 @@
import requests
import click
import logger
import v


class ModPack:
Expand All @@ -29,7 +30,7 @@ def __init__(self, path: str, **kwargs) -> None:
def init(self):
self.log("Initializing Curse client...", "info")
start = now()
self.c = CTClient()
self.c = CTClient(v.api_key)
stop = now()
self.log(
f"Successfully initialized Curse client in {str(stop - start)} seconds",
Expand Down

0 comments on commit 3e249b6

Please sign in to comment.