Skip to content

Commit

Permalink
Merge pull request #19 from troglodyne/fix_16
Browse files Browse the repository at this point in the history
Fix #16
  • Loading branch information
8go authored May 20, 2021
2 parents 8cc4627 + 8d5014b commit 327b7a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def get_opt_markdown_convert(self, command):
"""
if "markdown_convert" in self.command_dict["commands"][command].keys():
return self.command_dict["commands"][command]["markdown_convert"] == "true"
return self.command_dict["commands"][command]["markdown_convert"]
else:
return CommandDict.DEFAULT_OPT_MARKDOWN_CONVERT

Expand All @@ -232,7 +232,7 @@ def get_opt_formatted(self, command):
"""
if "formatted" in self.command_dict["commands"][command].keys():
return self.command_dict["commands"][command]["formatted"] == "true"
return self.command_dict["commands"][command]["formatted"]
else:
return CommandDict.DEFAULT_OPT_FORMATTED

Expand All @@ -245,7 +245,7 @@ def get_opt_code(self, command):
"""
if "code" in self.command_dict["commands"][command].keys():
return self.command_dict["commands"][command]["code"] == "true"
return self.command_dict["commands"][command]["code"]
else:
return CommandDict.DEFAULT_OPT_CODE

Expand Down

0 comments on commit 327b7a9

Please sign in to comment.