Skip to content

Commit

Permalink
Solved bug about updater not updating.
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoux committed Jun 12, 2018
1 parent 710d09c commit a79a38e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion logger_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
fmter_file = logging.Formatter(FORMAT_FILE, style="{")
fmter_console = logging.Formatter(FORMAT_CONSOLE, style="{")
filehandler = RotatingFileHandler(join(abspath("logs"), "app_log.txt"),
mode="w",
mode="a",
maxBytes=1E32,
backupCount=1000)
filehandler.setFormatter(fmter_file)
Expand Down
3 changes: 2 additions & 1 deletion updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@

update_logger = logger_init.logging.getLogger(__name__)

dont_take_unuseful = r"(logs|__pycache__|\.\w+)"
dont_take_unuseful = r"(logs|__pycache__|"\
+ "\.gitignore|\.github|\.gitattibutes|\.imdone)"

# Opening and getting current version number.
try:
Expand Down

0 comments on commit a79a38e

Please sign in to comment.