mirror of
https://codeberg.org/hyperreal/archive-fandom-wiki
synced 2024-11-25 09:33:41 +01:00
fix: put mkdir in else clause for init
This commit is contained in:
parent
ef29e741f9
commit
eec1bc7211
@ -37,7 +37,7 @@ class FandomWiki:
|
||||
console.print("(2) You typed the name of the wiki incorrectly.")
|
||||
console.print("(3) The server hosting that wiki is down for some reason.\n")
|
||||
console.print(f"HTTP error: {http_err}")
|
||||
|
||||
else:
|
||||
if not self.site_dir.exists():
|
||||
self.site_dir.mkdir()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user