Skip to content
Permalink
Browse files

Fixed bug introduced by changing import of winsound; reverted back

  • Loading branch information...
BradfordBach committed Jun 22, 2019
1 parent fe2cc3a commit 3665bd6612f06c437c6d9ae2c1b0906a576ef1c7
Showing with 2 additions and 2 deletions.
  1. +2 −2 NMS_Locator.py
@@ -5,12 +5,12 @@
import configparser
import ocr
import csv
import winsound
from copy import deepcopy
from screenshot_crop import crop_screenshot
from table_output import BHTable
from colorclass import Windows
from pyperclip import copy
from winsound import PlaySound

def get_current_location(last_save):
with open(last_save, "r", encoding='utf-8') as save_file:
@@ -29,7 +29,7 @@ def get_current_location(last_save):
copy(galactic_address)

if config.getboolean('SETTINGS', 'PLAY_NOTIFICATION'):
PlaySound('notification.wav', winsound.SND_FILENAME)
winsound.PlaySound('notification.wav', winsound.SND_FILENAME)

return(galactic_address)
else:

0 comments on commit 3665bd6

Please sign in to comment.
You can’t perform that action at this time.