Emmanuel 9 лет назад
Родитель
Сommit
5aa7c78050
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      gitup/config.py

+ 2
- 1
gitup/config.py Просмотреть файл

@@ -13,7 +13,8 @@ from colorama import Fore, Style
__all__ = ["get_bookmarks", "add_bookmarks", "delete_bookmarks",
"list_bookmarks"]

CONFIG_FILENAME = os.path.join(os.path.expanduser("~"), ".gitup")
CONFIG_FILENAME = os.path.join(os.path.expanduser('~/.config'), '.gitup') if \
os.path.exists(os.path.expanduser('~/.config')) else os.path.join(os.path.expanduser('~'), '.gitup')

YELLOW = Fore.YELLOW + Style.BRIGHT
RED = Fore.RED + Style.BRIGHT


Загрузка…
Отмена
Сохранить