Skip to content

Commit

Permalink
style: another round of conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
sijis committed Oct 30, 2023
1 parent 34be171 commit a14be35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions errbot/botplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ def append_args(self, args, kwargs):
update_wrapper(self.definition, args, kwargs)
else:
log.warning(
"Attempting to append arguments to {} isn't supported.".format(
self.definition
)
f"Attempting to append arguments to {self.definition} isn't supported."
)


Expand Down
2 changes: 1 addition & 1 deletion errbot/core_plugins/vcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _get_version(self):
try:
possible_versions = requests.get(HOME).json()
version = possible_versions.get(
"python{}".format(major_py_version), VERSION
f"python{major_py_version}", VERSION
)
self.log.debug("Latest Errbot version is: %s", version)
except (HTTPError, URLError, ConnectionError, JSONDecodeError):
Expand Down

0 comments on commit a14be35

Please sign in to comment.