Skip to content

Commit

Permalink
Merge pull request #57 from jakobkhansen/master
Browse files Browse the repository at this point in the history
dyc start no longer errors out on unedited confirmation files
  • Loading branch information
Zarad1993 authored Jul 28, 2020
2 parents 28d6835 + bb119af commit b9adbcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dyc/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def confirm(self, polished):
"## CONFIRM: MODIFY DOCSTRING BETWEEN START AND END LINES ONLY\n\n"
+ result
)
message = "\n".join(message.split("\n")[2:])
message = result if message == None else "\n".join(message.split("\n")[2:])
except:
print("Quitting the program in the editor terminates the process. Thanks")
sys.exit()
Expand Down

0 comments on commit b9adbcc

Please sign in to comment.