Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/util/clipboard/clipboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def init_qt_clipboard():
# $DISPLAY should exist
from PyQt4.QtGui import QApplication

app = QApplication([])
app = QApplication.instance() or QApplication([])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment here


def copy_qt(text):
cb = app.clipboard()
Expand Down