Skip to content

Commit 637d8a8

Browse files
author
Antonino Tramontana
committed
modificato: musicPackages.py
1 parent 870e142 commit 637d8a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

musicPackages.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
############################################################################
2828

2929
import json
30+
import os
31+
3032
class MusicPackage:
3133
name_IT = None
3234
name_EN = None
@@ -96,7 +98,6 @@ def get_instance(cls):
9698
def __init__(self):
9799
self.packages = dict()
98100
with open('./sounds/notes/music_package.json') as json_file:
99-
print("99 musik pac")
100101
data = json.load(json_file)
101102
for p in data['packages']:
102103

@@ -111,6 +112,7 @@ def __init__(self):
111112
self.packages[p] = mp
112113

113114

115+
114116
def deletePackage(self, packageName):
115117
print("rimozione pacchetto")
116118
if packageName in self.packages:

0 commit comments

Comments
 (0)