diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-02-19 06:54:04 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-02-19 06:54:04 +0000 |
commit | 164699163718a73a273b86f67a16d3807bccda0e (patch) | |
tree | ba73b76bcfbb497d617c8f5f9a5a278bcb49585e | |
parent | d023532c557aee024e698baa7e8b44ae63a390fb (diff) | |
download | stable-diffusion-webui-gfx803-164699163718a73a273b86f67a16d3807bccda0e.tar.gz stable-diffusion-webui-gfx803-164699163718a73a273b86f67a16d3807bccda0e.tar.bz2 stable-diffusion-webui-gfx803-164699163718a73a273b86f67a16d3807bccda0e.zip |
display 8 (rather than 7) characters of the extension commit hash in the installed extensions table
-rw-r--r-- | modules/extensions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extensions.py b/modules/extensions.py index 1975fca1..3eef9eaf 100644 --- a/modules/extensions.py +++ b/modules/extensions.py @@ -44,7 +44,7 @@ class Extension: self.status = 'unknown'
head = repo.head.commit
ts = time.asctime(time.gmtime(repo.head.commit.committed_date))
- self.version = f'{head.hexsha[:7]} ({ts})'
+ self.version = f'{head.hexsha[:8]} ({ts})'
except Exception:
self.remote = None
|