Commit 87d7a750 authored by Martin Schorb's avatar Martin Schorb
Browse files

make user robust for missing controlling terminal https://bugs.python.org/issue40821

parent d5c7b50c
......@@ -5,6 +5,7 @@
import json
import os
import getpass
import glob
import subprocess
import requests
......@@ -45,7 +46,7 @@ json_match_dir = os.path.join(base_dir, 'JSON_parameters', 'MatchTrials')
# defined at the end!
# notification and documentation
user = os.getlogin()
user = getpass.getuser()
email = '@embl.de'
doc_url = 'https://schorb.embl-community.io/volumealign/usage/'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment