Description: Don't hang on startup, when launched graphically
 Revert upstream commit bd016bc662081afd8ce6b01a5ad2715c8eb780a8.
Author: Stefano Rivera <stefanor@debian.org>
Bug-Debain: https://bugs.debian.org/751705
Bug-Upstream: https://github.com/jrfonseca/xdot.py/issues/14
Last-Update: 2014-10-23

--- a/xdot.py
+++ b/xdot.py
@@ -2108,10 +2108,7 @@
     win = DotWindow()
     win.connect('destroy', gtk.main_quit)
     win.set_filter(options.filter)
-    if len(args) == 0:
-        if not sys.stdin.isatty():
-            win.set_dotcode(sys.stdin.read())
-    else:
+    if len(args) >= 1:
         if args[0] == '-':
             win.set_dotcode(sys.stdin.read())
         else:
