diff options
author | josef <josef.gson@gmail.com> | 2015-10-19 13:51:45 +0200 |
---|---|---|
committer | josef <josef.gson@gmail.com> | 2015-10-19 13:51:45 +0200 |
commit | 833f64c2621b8cef3ec350d530541498d7173dbc (patch) | |
tree | 32812e96bd575540f2f0542967e8b0387df17cce /monitor/josef_monitor.py | |
parent | e432e62cc2ae7c7cbe7639eb476939ddc27afb85 (diff) |
adding code for analyzing overlap
Diffstat (limited to 'monitor/josef_monitor.py')
-rwxr-xr-x | monitor/josef_monitor.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/monitor/josef_monitor.py b/monitor/josef_monitor.py index b8ebd52..e371c86 100755 --- a/monitor/josef_monitor.py +++ b/monitor/josef_monitor.py @@ -344,11 +344,7 @@ class ctlog: # print "ERROR:", e.read() # sys.exit(0) -def time_str(ts = None): - if ts is None: - return datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S') - else: - return datetime.datetime.fromtimestamp(ts / 1000, UTC()).strftime("%Y-%m-%d %H:%M:%S") + def setup_domain_monitoring(): monitored_domains = [] |