Skip to content

Commit

Permalink
Formated some spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanaz2 committed Sep 30, 2022
1 parent 5e12ada commit 7cbbdb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion SSJ.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def __init__(self,input=None,output=None):
self.input = input
if input is None:
print("No input has been specified. This can not work.")

if output is None:
self.output = SSJ.defaultOutputFolder
else:
Expand Down
7 changes: 2 additions & 5 deletions Sitegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ def main(argv):
if 'output' in locals():
SiteGen = SSJ(input, output)
else:
SiteGen = SSJ(input)

try:

SiteGen = SSJ(input)
try:
shutil.rmtree(SiteGen.output)

except OSError as error:
print(error)

Expand Down

0 comments on commit 7cbbdb0

Please sign in to comment.