From 8da73660d4c7b4d3e604bc80015a70a680519a28 Mon Sep 17 00:00:00 2001 From: Ali Orhun Akkirman Date: Thu, 8 Oct 2020 08:28:35 +0300 Subject: [PATCH] Update tray.py add string datetime --- src/tray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tray.py b/src/tray.py index 43f11b1..5fed086 100755 --- a/src/tray.py +++ b/src/tray.py @@ -107,7 +107,7 @@ def on_send_click(self, button): Gtk.main_iteration() try: - imagename = summary.MAINDIR + 'ss/ss-' + datetime.datetime.now() + '.jpg' + imagename = summary.MAINDIR + 'ss/ss-' + str(datetime.datetime.now().timestamp()) + '.jpg' os.system("import -window root "+imagename) send_window.show_window() except Exception as e: