mirror of
https://github.com/onionshare/onionshare.git
synced 2025-09-28 22:39:35 -04:00
Encoded strings passed to constant_time_compare as ascii, because it was
throwing errors in OSX. Also added --debug to command line version, and made onionshare server log errors as well as the GUI.
This commit is contained in:
parent
ad284f98a4
commit
2edde2eb1f
4 changed files with 26 additions and 7 deletions
|
@ -96,7 +96,7 @@ def main():
|
|||
args = parser.parse_args()
|
||||
|
||||
filename = args.filename
|
||||
local_only = args.local_only
|
||||
local_only = bool(args.local_only)
|
||||
stay_open = bool(args.stay_open)
|
||||
debug = bool(args.debug)
|
||||
|
||||
|
@ -134,6 +134,7 @@ def main():
|
|||
else:
|
||||
webapp.onion_host = local_host
|
||||
if debug:
|
||||
onionshare.debug_mode()
|
||||
webapp.debug_mode()
|
||||
|
||||
# run the web app in a new thread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue