Skip to content

Commit

Permalink
blackify changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditi-Singh16 committed May 6, 2023
1 parent cc64c0e commit cc134b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/cryptoadvance/specter/services/extension_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ def __init__(
self.author_email = email
vc = VersionChecker()
version = vc._get_current_version()
if self.tag != "":
if GithubUrlLoader()._check_if_version_is_available(self.tag):
version = tag
else:
version = vc._get_latest_version_from_github()
if self.tag != "" and GithubUrlLoader()._check_if_version_is_available(
self.tag
):
version = tag
else:
version = vc._get_latest_version_from_github()
self.tag = "master"
self.version = version # relevant if tmpl-sources specify a dependency (requirements.txt) #ToDo improve
self.tmpl_fs_source = tmpl_fs_source

Expand Down

0 comments on commit cc134b7

Please sign in to comment.