Skip to content

Commit

Permalink
Ignore replays only on my PC
Browse files Browse the repository at this point in the history
  • Loading branch information
kangalio committed Oct 20, 2019
1 parent 35f1f58 commit 2b726f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
import os, json
import os, json, socket

from plotter import Plotter
import util
Expand Down Expand Up @@ -29,7 +29,8 @@

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

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

0 comments on commit 2b726f5

Please sign in to comment.