Skip to content

Commit

Permalink
Add Version Direction
Browse files Browse the repository at this point in the history
  • Loading branch information
WeepingDogel committed Oct 31, 2021
1 parent 0c2b7a9 commit f61f87d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions titlegetter.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def PrintAsBBScode(self, title, URL):
# if the LOGO is printed correctly, the configuration file has been loaded successfully.

if args.version:
if os.path.exists('/etc/titlegetter/config/.version'):
Starting.ShowVersion('/etc/titlegetter/config/.version')
if os.path.exists('/etc/titlegetter/.version'):
Starting.ShowVersion('/etc/titlegetter/.version')
elif os.path.exists('config/version'):
Starting.ShowVersion('config/version')
os._exit(0)
Expand Down

0 comments on commit f61f87d

Please sign in to comment.