Skip to content

Commit 1acf7c1

Browse files
authored
suppress warning
1 parent f473bbc commit 1acf7c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gui.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
import multiprocessing
1111
if __name__ == '__main__':
1212
multiprocessing.set_start_method('spawn', force=True)
13+
14+
import warnings
15+
warnings.filterwarnings("ignore", message="pkg_resources is deprecated", category=UserWarning)
16+
1317
import os
1418
from pathlib import Path
1519

0 commit comments

Comments
 (0)