Skip to content

Commit

Permalink
hosts 폴더 초기화
Browse files Browse the repository at this point in the history
  • Loading branch information
ajb3296 authored Jun 22, 2020
1 parent 4b9a9f9 commit e97ccc5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Adaway_for_Windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ async def downloadhost():
break
urls.append(l)
f.close()

# Make hosts folder
try:
shutil.rmtree('hosts')
except FileNotFoundError:
pass
os.mkdir("hosts")

# Make temp hosts file
try:
Expand Down

0 comments on commit e97ccc5

Please sign in to comment.