ALBA-Synchrotron / sardana-redis

PoC of a sardana recorder to RedisDB based on BlissData 1.0
GNU General Public License v3.0
1 stars 2 forks source link

os.getlogin() not always works #3

Open jkotan opened 6 months ago

jkotan commented 6 months ago

According to

https://bugs.python.org/issue40821

os.getlogin() does not always work. I get the same error with tango user installed from debian packages. It is recommended to use getpass.getuser()

ovallcorba commented 5 months ago

Great, I changed it. Thanks!