Skip to content

Commit

Permalink
MOTD -> message of the day
Browse files Browse the repository at this point in the history
  • Loading branch information
mazurwiktor committed Jun 7, 2020
1 parent e0e756e commit 61c8079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ def fix_npcap():
def get_modt(always_on_top):
motd_url = 'https://mazurwiktor.github.io/aostats/motd'
msg = QMessageBox()
msg.setWindowIcon(QtGui.QIcon(path('albion-stats-icon.png')))
msg.setObjectName("Motd")
msg.setWindowTitle("MOTD")
msg.setWindowTitle("Message of the day")
msg.setInformativeText(str(requests.get(motd_url).text))
msg.setStandardButtons(QMessageBox.Ok)

Expand Down

0 comments on commit 61c8079

Please sign in to comment.