mirror of
https://github.com/nicholasr-itsulu/FediFetcher.git
synced 2026-05-30 23:41:26 +00:00
Merge pull request #188 from nanos/print-version
print version number on startup
This commit is contained in:
commit
a53b637e48
1 changed files with 1 additions and 1 deletions
|
|
@ -1503,7 +1503,7 @@ if __name__ == "__main__":
|
|||
if tokens := [token for envvar, token in os.environ.items() if envvar.lower().startswith("ff_access_token")]:
|
||||
arguments.access_token = tokens
|
||||
|
||||
logger.info("Starting FediFetcher")
|
||||
logger.info(f"Starting FediFetcher v{VERSION}")
|
||||
|
||||
if(arguments.server == None or arguments.access_token == None):
|
||||
logger.critical("You must supply at least a server name and an access token")
|
||||
|
|
|
|||
Loading…
Reference in a new issue