Skip to content

Commit

Permalink
Merge pull request #13 from stumitchell/patch-2
Browse files Browse the repository at this point in the history
Remove python 3.10 SyntaxWarning
  • Loading branch information
StdCarrot authored Feb 16, 2023
2 parents ca38115 + 29f384b commit aedb203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyamf/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def get_module(mod_name):
if isinstance(mod_name, bytes):
mod_name = mod_name.decode()

if mod_name is '':
if mod_name == '':
raise ImportError('Unable to import empty module')

mod = __import__(mod_name)
Expand Down

0 comments on commit aedb203

Please sign in to comment.