File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 3333pip-log.txt
3434pip-delete-this-directory.txt
3535
36+ # idea user-specific files
37+ .idea /workspace.xml
38+
3639# Unit test / coverage reports
3740htmlcov /
3841.tox /
Original file line number Diff line number Diff line change 1+ approvaltests == 0.1.12
2+ py2exe == 0.9.2.2
3+ pysmb == 1.1.15
4+ paho-mqtt == 1.1
5+ pyreadline == 2.1
6+ screeninfo == 0.2.1
7+ pypiwin32 == 219
8+ dnspython == 1.14.0
9+ Pillow == 2.4.0
10+ pyasn1 == 0.1.9
11+ cffi == 1.7.0
12+ pycparser == 2.14
13+ pysha3 == 0.3
Original file line number Diff line number Diff line change @@ -7,8 +7,11 @@ def create_windows_exe():
77
88 # Get theme files and store them in a list
99 def get_file_paths (folder_name ):
10- file_paths = [f for f in listdir (folder_name ) if isfile (join (folder_name , f ))]
11- return ['{}/{}' .format (folder_name , i ) for i in file_paths ]
10+ if os .path .isdir (folder_name ):
11+ file_paths = [f for f in listdir (folder_name ) if isfile (join (folder_name , f ))]
12+ return ['{}/{}' .format (folder_name , i ) for i in file_paths ]
13+ else :
14+ return []
1215
1316 [os .remove (x ) for x in get_file_paths ('dist' )]
1417 theme_file_paths = get_file_paths ("Themes" )
You can’t perform that action at this time.
0 commit comments