Skip to content

Commit

Permalink
Merge pull request #267 from ThatsJustCheesy/allow-dot-shallow-backup
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman authored Apr 23, 2020
2 parents 6b46183 + d6ab899 commit c11e490
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions shallow_backup/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ def upgrade_from_pre_v3():
else:
print_red_bold("Please downgrade to a version of shallow-backup before v3.0 if you do not want to upgrade your config.")
sys.exit()
elif os.path.isdir(old_config_path):
print_red_bold(f"ERROR: {old_config_path} is a directory, when we were expecting a file. Manual intervention is required.")
sys.exit(1)

# Clean up ~/.config/shallow-backup
incorrect_config_dir = os.path.join(get_xdg_config_path(), "shallow-backup")
Expand Down

0 comments on commit c11e490

Please sign in to comment.