Skip to content

Commit 66dbbf7

Browse files
Merge pull request #16 from mauricelambert/dev
Minor fix for secure password share (exit and error code for invalid inputs)
2 parents e9cb18a + 3faba12 commit 66dbbf7

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: WebScripts
3-
Version: 3.0.32
3+
Version: 3.0.33
44
Summary: This tool runs CLI scripts and displays output in a Web Interface.
55
Home-page: https://github.com/mauricelambert/WebScripts
66
Author: Maurice Lambert

WebScripts.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: WebScripts
3-
Version: 3.0.32
3+
Version: 3.0.33
44
Summary: This tool runs CLI scripts and displays output in a Web Interface.
55
Home-page: https://github.com/mauricelambert/WebScripts
66
Author: Maurice Lambert

WebScripts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This tool runs CLI scripts and displays output in a Web Interface.
2424
"""
2525

26-
__version__ = "3.0.32"
26+
__version__ = "3.0.33"
2727
__author__ = "Maurice Lambert"
2828
__author_email__ = "[email protected]"
2929
__maintainer__ = "Maurice Lambert"

WebScripts/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This tool runs CLI scripts and displays output in a Web Interface.
2424
"""
2525

26-
__version__ = "3.0.32"
26+
__version__ = "3.0.33"
2727
__author__ = "Maurice Lambert"
2828
__author_email__ = "[email protected]"
2929
__maintainer__ = "Maurice Lambert"

WebScripts/scripts/passwords/new_password_share.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
This file can share a password securely.
2626
"""
2727

28-
__version__ = "1.0.0"
28+
__version__ = "1.0.1"
2929
__author__ = "Maurice Lambert"
3030
__author_email__ = "[email protected]"
3131
__maintainer__ = "Maurice Lambert"
@@ -205,6 +205,7 @@ def main() -> int:
205205
print(
206206
f"Strings must be printable: {string!r} is not.", file=stderr
207207
)
208+
return 2
208209

209210
passwords.append(password)
210211
save(passwords, id_)

WebScripts/static/html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
77
<tr bgcolor="#9286C2">
88
<td valign=bottom>&nbsp;<br>
9-
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>__init__</strong></big></big> (version 3.0.31)</font></td
9+
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>__init__</strong></big></big> (version 3.0.33)</font></td
1010
><td align=right valign=bottom
1111
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="__init__.py">__init__.py</a></font></td></tr></table>
1212
<p><tt>This&nbsp;tool&nbsp;runs&nbsp;CLI&nbsp;scripts&nbsp;and&nbsp;displays&nbsp;output&nbsp;in&nbsp;a&nbsp;Web&nbsp;Interface.</tt></p>

0 commit comments

Comments
 (0)