Skip to content

Commit ee1646e

Browse files
Merge pull request #7 from Syntactical01/master
Fixed bug - cloud bug is fixed now
2 parents 6902a2d + 2665a79 commit ee1646e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ffmpeg_streaming/clouds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def open_from_cloud(cloud):
205205

206206
def save_to_clouds(clouds, dirname):
207207
if clouds is not None:
208-
if type(clouds) != list or type(clouds) != tuple:
208+
if not isinstance(clouds, (list, tuple)):
209209
raise TypeError('Clouds must be type of list or tuple')
210210

211211
if type(clouds) == tuple:

0 commit comments

Comments
 (0)