bugfix retriew username in praytime cron via crontab

This commit is contained in:
a-Sansara 2017-11-18 15:27:35 +01:00
parent 74859b0499
commit 4960e2f5ff

View File

@ -272,6 +272,9 @@ class Pluie.PrayTime : GLib.Object
if (user == null) {
user = Environment.get_variable ("USER");
}
if (user == null) {
user = Environment.get_variable ("LOGNAME");
}
Dbg.out (Log.METHOD, null, Log.LINE, Log.FILE);
return user;
}