Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def set_jultime(self, t=None):
"""Set the current time to a Julian date."""
if t is None: t = ephem.julian_date()
self.set_ephemtime(juldate2ephem(t))
def set_ephemtime(self, t=None):