Skip to content

Commit 2b726f5

Browse files
committed
Ignore replays only on my PC
1 parent 35f1f58 commit 2b726f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from PyQt5.QtGui import *
22
from PyQt5.QtWidgets import *
33
from PyQt5.QtCore import *
4-
import os, json
4+
import os, json, socket
55

66
from plotter import Plotter
77
import util
@@ -29,7 +29,8 @@
2929

3030
XML_CANCEL_MSG = "You need to provide an Etterna.xml file for this program to work"
3131
SETTINGS_PATH = "etterna-graph-settings.json"
32-
IGNORE_REPLAYS = True
32+
IGNORE_REPLAYS = True # Development purposes
33+
if socket.gethostname() != "kangalioo-pc": IGNORE_REPLAYS = False
3334

3435
# QScrollArea wrapper with scroll wheel scrolling disabled.
3536
# I did this to prevent simultaneous scrolling and panning

0 commit comments

Comments
 (0)